$ cd ~/learn/oop
Object-Oriented Programming
Classes, the four pillars, SOLID, and the design patterns interviewers actually ask about.
CS Fundamentals/5 Lessons
Lesson 01 · 6 min read
Classes and Objects
Classes, objects, constructors, access modifiers, static members, this, object lifecycle and memory, and equality vs identity.
Lesson 02 · 6 min read
The Four Pillars
Encapsulation, abstraction, inheritance and polymorphism, with overloading vs overriding, dynamic dispatch and abstract classes vs interfaces.
Lesson 03 · 6 min read
Advanced OOP
Composition vs inheritance, association, aggregation and composition, coupling and cohesion, immutability, generics and exception handling in OOP.
Lesson 04 · 6 min read
SOLID Principles
The five SOLID design principles with violations and fixes, plus DRY, KISS, YAGNI and the Law of Demeter.
Lesson 05 · 6 min read
Design Patterns
The Gang of Four creational, structural and behavioral patterns interviewers ask about most, with code and when to use each.