Fundamentals of OOAD

Lets us start with the basics of OOAD. The idea of introducing this post is just to revise the concepts which are mandatory to be used in any of the software solution. Programmer sometimes get reluctant to these fundamentals leading to the regression and re-writing of the code.

There are 5 thumb-rules (called as SOLID)

Single responsibility,
Open-closed,
Liskov substitution,
Interface segregation and
Dependency inversion

Let us see these principles in details

These principles are the backbone of software programming with object oriented approach. The use of these principles has to be decided at the time of design phase which can then be moulded into the actual code implementation. However all these fundamentals can be achieved by proper use of the OOPs methodologies like:

  • Inheritance
  • Data encapsulation
  • Abstraction
  • Polymorphism and
  • Code re-usability

The use of the design principle ensures us that the logic is not rewritten and would be open for accommodating new features but also restricts the user to modify the existing system which might collapse the operational module. These code-rules are further extended to design a prototype to solve a particular problem statement which are also known as design patterns.

About these ads
Tagged with: , , , , , , , , ,
Posted in CPP, software design
One comment on “Fundamentals of OOAD
  1. Prathamesh Pable says:

    Nice one.

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

Follow

Get every new post delivered to your Inbox.

Join 353 other followers

%d bloggers like this: