@d0b3rman
2. O - Open/Closed Principle (OCP)
Definition: Software entities (classes, modules, functions) should be open for extension but closed for modification.
Why: This allows new functionality to be added to the system without changing the existing code, reducing the risk of introducing bugs in stable code.