re: Top 10 Object-Oriented Design Principles for writing Clean Code VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Good info. However, you are conflating dependency injection and dependency inversion (aka Inversion of Control). They are related, but definitely n...
 

Dependency injection is not only the last followed principle, it also should be the #1 principle - I've seen the code style and quality of an entire team improve substantially after teaching them DI, IOC and how DI containers work.

So many OO concepts fall into place once you really understand this :-)

code of conduct - report abuse