Skip to content

ProgramBuddy

Get To Know

  • About Me
ProgramBuddy

A Beginner Programmer Without an IDE

Posted on January 22, 2017April 17, 2018 programbuddyLeave a commentPosted in programming

You have a beginner programmer and you give him to program a solution. You want to know, how much knowledge about a programming language he has. If beginner is working with an IDE, how much knowledge he needs to complete his task?

Do One Task at The Time

Posted on January 15, 2017January 15, 2017 programbuddyLeave a commentPosted in self improvement

When you are working on more task on the same time, you will spend on a task more time than, if you were working on tasks sequentially.

Mutable Shared State: List of Values

Posted on January 8, 2017 programbuddyLeave a commentPosted in programming

When we have mutable shared state, written code is harder to understand. We have to know where the state has become shared and where it is modified. Usually those location are on different places. It become worse, when inner state of a class is shared.

Knowledge Define Software Solution

Posted on January 1, 2017January 15, 2017 programbuddyLeave a commentPosted in programming

Would we get same software solution, if we hired different teams to build the software solution? How team’s knowledge influence software solution?

Make Validation Explicit

Posted on December 25, 2016January 8, 2017 programbuddyLeave a commentPosted in programming

Does the following method have single responsibility?

Separate Validation of Input Parameters With a Proxy

Posted on December 18, 2016January 15, 2017 programbuddyLeave a commentPosted in programming

Validation of input parameters are at the beginning of the method. If the method has code after validation, then it has not a single responsibility. How can we separate validation code for input parameters and rest of the code?

Java Streams: Collector Instead of Constructor

Posted on December 11, 2016 programbuddyLeave a commentPosted in programming

Let’s create a class that it stores a list of values and it can compute some value based on stored values. Internally elements are stored in a List. When class is created form the list of values, we can create a collector for it. There is no need for public constructor.

Test Execution Time

Posted on December 4, 2016December 4, 2016 programbuddyLeave a commentPosted in programming

Cumulative time is increasing by executing tests through time. Is every lost second important?

How to Get Rid of Back Pain?

Posted on November 27, 2016November 28, 2016 programbuddyLeave a commentPosted in self improvement

Start practicing yoga.

In-Memory Repository – Layered Repository

Posted on November 20, 2016November 27, 2016 programbuddy1 CommentPosted in programming

Unit test is executed in less than half of the second. When we have an integration test which is using a repository that is connected to a database it will be executed in several seconds. With a repository, that has an implementation in-memory, tests will be executed faster. There are also other benefits.

Posts navigation

Older posts

RSS ProgramBuddy

  • A Beginner Programmer Without an IDE
  • Do One Task at The Time
  • Mutable Shared State: List of Values
  • Knowledge Define Software Solution
  • Make Validation Explicit

Categories

  • programming
  • self improvement

Archives

  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
ProgramBuddy
Proudly powered by WordPress | Theme: Sydney by aThemes.