Last but not least, the Dependency Inversion Principle!
There is a common misunderstanding that &quot;Dependency Inversion&quot; is similar to &quot;dependency injection.&quot; However, the two are not the same, as I explained in What Is Dependen...

&quot;Interface Segregation&quot;... what the hell does that mean now... It seems like all those principles were named to bring more confusion than clarity right ? Yet they are very easy to understand once you look at the right example.
This one i...

Third principle in this SOLID serie, the Liskov Substitution principle was imagined by Barbara Liskov.
Definition
Mathematical definition:
Let q(x) be a property provable about object x of type T.
Then q(y) should be provable for objects y o...

The second principle of S O LID is called Open-Closed , and helps developer to mature well designed code.
This is a confusing one, but I'll try to make it easy to grasp.
Definition
First of all, this principle states that entities should be...