Skip to content

ProgramBuddy

Get To Know

  • About Me
  • EnglishEnglish
    • SlovenščinaSlovenščina
    • EnglishEnglish

Category: programming

programming

Do Tests Have to Be Written As Good As The Production Code or better?

Posted on October 30, 2016November 27, 2016

Without tests, you can’t know how the production code works. When you write a test for the production code, you define how the production code works. Latter you can easily change the production code with refactoring or rewrite. Do test have to be written as good as the production code or better?

programming

Entities As Immutable Objects

Posted on October 23, 2016November 27, 2016

Entities can be changed. Why represent them as immutable objects?

programming

Anonymize Thread Dump

Posted on October 9, 2016November 27, 2016

Do you upload your thread dump on public site for analysis and you don’t want to expose your code?

programming

Program Code – Social Interactions and Psychology

Posted on October 2, 2016January 15, 2017

What can a program code tell us about social interactions and psychology of people working on a project?

programming

Overuse of Dependency Injection Framework

Posted on September 18, 2016November 27, 2016

If it can be wired with a dependency injection framework, it does not mean, that it should be.

programming

Repository Interface: Same Test For More Than One Implementation

Posted on September 11, 2016November 27, 2016

We have an entity and a repository interface for the entity. The repository implementation has often access to external resources like databases, files, etc. When we have the repository, we also have tests for it. What if we wanted implement another repository? Can we use the same tests?

programming

Return Type With The Information of The Method

Posted on September 4, 2016November 27, 2016

When we need a list of values of a type Foo, it quickly comes to a type List<Foo>, which is a list of Foo and nothing more. What if different methods return different list of values that have the same type? Why won’t we create different types for lists of values? One possible step is […]

programming

Software Development Life Cycle: Are Steps Done In Reversed Order

Posted on August 28, 2016April 2, 2017

Software development life cycle is usually presented as circle of steps, such as Requirements & Analysis, Design & Architecture, Developing & Coding, Testing and Maintenance. Steps are connected with arrows in that order. Are steps really done in that order?

programming

Test Driven Development: Are Tests Really Written Before Production Code

Posted on August 21, 2016November 27, 2016

Let’s say that you do the test driven development. When you have to implement a new functionality, you begin with adding a new test for the new functionality. Then you run all tests and only the new test should fail. Then you write a production code so that the new test passes. Then again you […]

programming

Useful Commands Used In a Dockerfile

Posted on August 14, 2016November 27, 2016

Useful commands which I have used in Dockerfiles. You can get new ideas by analyzing Dockerfiles on Docker Hub.

Posts navigation

Previous 1 2

Categories

  • programming
  • self improvement

Archives

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