Four Pillars of Object-oriented programming
A trick a trick I invented to memorize the 4 pillars of OOP:
P Polymorphism
I Inheritance
L
L
A Abstraction
R
Where is the E for Encapsulation? It was encapsulated! (just kidding).
Design Principles
D Decomposition
E Encapsulation
S
I
G Generalization
N
Where is the A for Abstraction? It was omitted due to a poor abstraction.
Leave a Reply