Design Principles · SOLID

The SOLID Principles


The SOLID principles are five dependency management for object oriented programming and design. Each letter represents another three-letter acronym that describes one principle.

SRP The Single Responsibility Principle A class should have one, and only one, reason to change.
OCP The Open Closed Principle Design should be open for Extension and closed for Modification
LSP The Liskov Substitution Principle Derived classes must be substitutable for their base classes.
ISP The Interface Segregation Principle Make fine grained interfaces that are client specific.
DIP The Dependency Inversion Principle Depend on abstractions, not on concretions.

More to come …

Advertisements

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