Programare Orientată pe Obiecte
Cele patru piloni ai OOP: Abstracție, Încapsulare, Moștenire, Polimorfism.
OOP
Abstraction
Hide complexity and expose only essential interfaces to simplify how we interact with objects
Encapsulation
Protect internal state and enforce access through controlled interfaces
Inheritance
Create new classes based on existing ones to promote code reuse and establish hierarchies
Polymorphism
Allow objects to take multiple forms, enabling flexible and extensible code
Interfaces vs Abstract Classes
Understanding when to use interfaces versus abstract classes in your design