Home > Coding > Building S.O.L.I.D. code (Part #2)

Building S.O.L.I.D. code (Part #2)


 

After having viewed the “S” of SOLID (Single Responsibility Principle), we are now heading down the loop to the “O” which stands for Open / Closed Principle.

After this the classes should have one responsibility, be open for extension and closed for modifications.

 

Again, this video is being performed by CodeBetter.Com (awesome folks out there)…

Watch this video and let me know what you think!

#90 – Creating SOLID Code: Open/Closed Principle (OCP)

Let me know of good examples where you could apply this object oriented design principle!

Advertisements
Categories: Coding
  1. No comments yet.
  1. No trackbacks yet.

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

%d bloggers like this: