Oct 22 2008

Now That's Solid!

Category: Jeff @ 05:45

Last week, Derick Bailey presented at the Austin .NET User Group meeting.  He's posted his slides and sample code from the presentation and it's well worth the time to review.  Derick does a spectacular job laying out the specifics of SOLID object oriented design principles.

  • S (Separation of Concerns)
  • O (Open/Closed Principle)
  • L (Liskov Substitution Principle)
  • I (Interface Segregation Principle)
  • D (Dependency Inversion Princple)

The power of Derick's approach is that he starts with a simple solution and then refactors to patterns, rather than simply showing off a completed application with heavy use of design patterns.  This is a good reminder that design patterns aren't a good thing in-and-of-themselves.  In fact, unneccesary use of patterns is a code smell--if all you need is a simple solution, then create a simple solution!  But as requirements change and become more complicated, it is vital to have the knowledge for how to modify your application to accomodate the necessary changes.  Derick's presentation will help you understand the principles and patterns that will enable you to face changing requirements with confidence.

Tags: , ,