Programare Orientată pe Obiecte
Cele patru piloni ai OOP: Abstracție, Încapsulare, Moștenire, Polimorfism.
SOLID Principles
Introduction to SOLID Principles
Overview of the five principles for maintainable, scalable object-oriented design
Single Responsibility Principle (SRP)
A class should have one, and only one, reason to change
Open/Closed Principle (OCP)
Software entities should be open for extension but closed for modification
Liskov Substitution Principle (LSP)
Objects of a superclass should be replaceable with objects of its subclasses without affecting program correctness
Interface Segregation Principle (ISP)
Clients should not be forced to depend on interfaces they do not use
Dependency Inversion Principle (DIP)
High-level modules should not depend on low-level modules; both should depend on abstractions