SOLID

S = Single Responsibility
A class should have one responsibility.

O = Open/Closed
A class should be open for extension but closed for modification.

L = Liskov Substitution
Objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.

I = Interface Segregation
Many client-specific interfaces are better than on general-purpose interface.

D = Dependency Inversion
One should depend upon abstractions rather than concrete classes.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s