Sponsored Links
-->

Wednesday, April 25, 2018

S.O.L.I.D. Principles of Object-Oriented Design - A Tutorial on ...
src: i.ytimg.com

In object-oriented computer programming, the term SOLID is a mnemonic acronym for five design principles intended to make software designs more understandable, flexible and maintainable. 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 SOLID acronym was introduced by Michael Feathers.


Video SOLID (object-oriented design)



Concepts

Single responsibility principle
a class should have only a single responsibility (i.e. changes to only one part of the software's specification should be able to affect the specification of the class).
Open/closed principle
"software entities ... should be open for extension, but closed for modification."
Liskov substitution principle
"objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program." See also design by contract.
Interface segregation principle
"many client-specific interfaces are better than one general-purpose interface."
Dependency inversion principle
one should "depend upon abstractions, [not] concretions."

Maps SOLID (object-oriented design)



See also

  • Code reuse
  • Inheritance (object-oriented programming)
  • Package principles
  • Don't repeat yourself
  • GRASP (object-oriented design)
  • KISS principle
  • You aren't gonna need it

Notes on software design and C# - ppt download
src: slideplayer.com


References

Source of article : Wikipedia