SOLID Principles

From LabVIEW Wiki
Jump to: navigation, search

SOLID is an acronym for five design principles in Object-Oriented Programming to make the software more readable, extensible, and maintainable. The SOLID Principles are as follows:

Single Responsibility Principle - a class should only have a single responsibility.
Open/Closed Principle - software 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."
Interface Segregation Principle - "many client-specific interfaces are better than one general-purpose interface."
Dependency Inversion Principle - one should "depend upon abstractions, [not] concretions."

SOLID Principles in G

More to Come