Blogginlägg

Tell, don’t Ask

Av peter@liteolika.se | Blogg | 19 maj 2019

The most languages i develop in these days are OOP (Object Oriented Programming) languages and i try to use the SOLID-principles as much as possible. The first principle in SOLID is the Single Responsibility Principle (SRP), which states that a class should have only one reason to change. In other words, it should only have […]

The post Tell, don’t Ask appeared first on DevJunkie.

Till inlägget