Code Safari
All guides

Backend guide

Object-Oriented Programming, Concept-First

A plain-English, language-agnostic guide to object-oriented programming — objects and classes, and the four pillars: encapsulation, abstraction, inheritance, and polymorphism, plus why "composition over inheritance" is the advice you hear most. Concepts, not syntax.

6 lessons·47 min read·Free, no account
  1. 01What Is Object-Oriented Programming? Objects, Classes, and the Big IdeaBeginner·8 min
  2. 02Encapsulation: Protecting an Object's Data Behind a Small InterfaceBeginner·8 min
  3. 03Abstraction: Showing What an Object Does, Hiding HowBeginner·7 min
  4. 04Inheritance: Defining a Type in Terms of AnotherBeginner·8 min
  5. 05Polymorphism: One Call, Many BehavioursBeginner·8 min
  6. 06Composition Over Inheritance: The Advice You'll Hear MostBeginner·8 min