The
Single-responsibility principle: "There should never be more than one reason for a
class to change."[5] In other words, every class should have only one responsibility.[6]
The
Open–closed principle: "Software entities ... should be open for extension, but closed for modification."[7]
^Martin, Robert C."Principles Of OOD". ButUncleBob.com.
Archived from the original on Sep 10, 2014. Retrieved 2014-07-17.. (Note the reference to "the first five principles", although the acronym is not used in this article.) Dates back to at least 2003.
^
abMartin, Robert C. (13 Feb 2009).
"Getting a SOLID start". Uncle Bob Consulting LLC (Google Sites).
Archived from the original on Sep 17, 2013. Retrieved 2013-08-19.