SOLID Principles: Part 1

by scott on 03/8/2011

On Sunday I arrived home from CodePaLOUsa in Louisville. The first geek conference of the year and it must have lit a fire in me, because when I got home I started building a slide deck titled “Class Design”. My original idea for the title was “SOLID, DI, IoC… WTF?”. I have decided to also put together a blog series covering the topic. This is the first post of the series and serves as a jumping off point.

SOLID

Solid is the acronym given to the 5 principles of class design as defined by Bob Martin.

SRP – Single Responsibility Principle

OCP – Open Closed Principle

LSP – Liskov Substitution Principle

DIP – Dependency Inversion Principle

ISP – Interface Segregation Principle

Comments are closed.