What is SOLID Principle? go through SOLID Principle by example

By yuseferi, 12 July, 2016
What is SOLID Principle? go through SOLID Principle by example

SOLID Principle, a buzzword you hear everywhere, A brilliant rules to develop software.

What is SOLID Principle?

In object-oriented computer programming, SOLID is a mnemonic acronym for five design principles intended to make software designs more understandable, flexible and maintainable. It is not related to the GRASP software design principles. The principles are a subset of many principles promoted by Robert C. Martin.Though they apply to any object-oriented design, the SOLID principles can also form a core philosophy for methodologies such as agile development or adaptive software development. The theory of SOLID principles was introduced by Martin in his 2000 paper Design Principles and Design Patterns, although the SOLID acronym itself was introduced later by Michael Feathers.

SOLID is made up of the first five principles in OOD, it stands for

  • S — Single-responsibility principle
  • O — Open-closed principle
  • L — Liskov substitution principle
  • I — Interface segregation principle
  • D — Dependency inversion principle

read more on my weblog Explain SOLID Principle by example