OOP & design patterns
SOLID, composition over inheritance, and the patterns worth recognizing in real code.
17 lessons
Beginner
Classes and objects — the basicsBeginner3 min read·Not startedInheritance — the basicsBeginner3 min read·Not startedThe four pillars of OOP, actually explainedBeginner3 min read·Not startedStatic vs. instance methods — the basicsBeginner3 min read·Not startedInterfaces and abstract classes — the basicsBeginner3 min read·Not startedWhat is a design pattern, actually?Beginner3 min read·Not started
Intermediate
SOLID, from the problems it actually solvesIntermediate4 min read·Not startedComposition over inheritanceIntermediate2 min read·Not startedThe Strategy pattern — Open/Closed in practiceIntermediate3 min read·Not startedThe Observer pattern — decoupling 'what happened' from 'who cares'Intermediate3 min read·Not startedThe Factory pattern — deciding which class to instantiateIntermediate3 min read·Not startedThe Singleton pattern — and why it's controversialIntermediate4 min read·Not startedThe Builder pattern — constructing complex objects step by stepIntermediate4 min read·Not startedThe Adapter pattern — making incompatible interfaces work togetherIntermediate4 min read·Not startedThe Facade pattern — one simple interface over a complicated subsystemIntermediate4 min read·Not startedThe Template Method pattern — fixing the steps, varying the detailsIntermediate4 min read·Not started