Dependency Inversion Principle from SOLID – in a picture :-)
I started reading into the SOLID Principles in March bit didn’t get very far before I moved on to do some other stuff (sound familiar?).
Then today I stumble across a site with a bunch of motivational pictures based on the SOLID Principles and I have included my two favourites.
SOLID is a collection of object-oriented design principles that you can apply to your design to achieve desirable goals like loose-coupling, maintainability etc. SOLID was defined by Robert “Uncle Bob” Martin (CEO of Object Mentor). IMHO very much worth a read by anyone serious about designing software – even if you find that you don’t agree with everything you read. They are after all principles, not laws!
Related Links:
- Getting started with SOLID
- Hanselminutes with Robert Martin Podcast (#145) where Robert does a good job of explaining SOLID
- The above podcast surprisingly sparked a little “trouble in the blogosphere” between Robert and Joel Spolsky which resulted in…
- Joel (and Jeff Atwood) creating the Stackoverflow with Robert Martin Podcast (#41) which was then followed by…
- a second Hanselminutes with Robert Martin Podcast (#150) where Robert dug a little further into some issues he felt were not sufficiently resolved in Stackoverflow #41
- And for completeness, The Ferengi Programmer by Jeff Atwood. One mans view on SOLID.
Anyway, back to the fun bit:
and