Navigation and service panel


Content

Posts tagged "Dependency Injection"

Dependency Injection sets you free from Conditional Statements

By Dawid Dworak on 10. September 2014, No comments

Conditional statements have been present to developers for nearly as long as the programming itself. Unfortunately in the world of OOP they are very often abused even by most exceptional developers and thus increase complexity of created applications. There are number of campaigns all over the world that raise awareness of effective use of software design principles and practices first of all by removing bad IFs and replacing them with alternative constructs. Dependency Injection make it possible to enhance the maintainability of code and let developers stay away from overwhelming amount of conditional statements.

read on