Wednesday, 12 May 2010

SOLID Principles in programming


this is my first post just to get started. I am only putting this up to do some analysis on Wordpress SEO.

S - Single responsibility principle, the notion that an object should have only a single responsibility.

O - Open/closed principle, the notion that “software … should be open for extension, but closed for modification”.

L - Liskov substitution principle, see also design by contract.

I - Interface segregation principle, the notion that “many client specific interfaces are better than one general purpose interface.”

D - Dependency inversion principle, the notion that one should “Depend upon Abstractions. Do not depend upon concretions.”
Dependency injection is one