Skip to main content

Object-Oriented Programming

Complete series on object-oriented programming in TypeScript: classes, inheritance, polymorphism, encapsulation, and SOLID principles. From basic concepts to practical applications in modern web development.

Questa serie raccoglie 5 articoli (circa 62 minuti di lettura totale), pensati per un livello Beginner. Gli argomenti principali trattati sono OOP, TypeScript, SOLID, classes.

5Articles62 minTotal reading timeBeginnerLevel
OOPTypeScriptSOLIDclassesinheritancepolymorphism

Series Articles

  1. 1

    01 - Introduction to Object-Oriented Programming

    Discover the fundamentals of OOP programming: what are classes and objects, the 4 core pillars, and when to use this paradigm in your projects.

  2. 2

    02 - Encapsulation in OOP: Protecting and Hiding Data

    Complete guide to encapsulation: access modifiers (private, protected, public), getters/setters, readonly and best practices for secure and maintainable code.

  3. 3

    03 - Inheritance and Composition: Code Reuse in OOP

    Inheritance vs composition: when to use what, abstract classes vs interfaces, and the "composition over inheritance" principle with practical TypeScript examples.

  4. 4

    04 - Polymorphism: Flexibility through Interfaces

    Master polymorphism in OOP: subtype polymorphism, method overriding, multiple interfaces, duck typing and generics in TypeScript.

  5. 5

    05 - SOLID Principles: The Foundation of Software Architecture

    The 5 SOLID principles explained in detail: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation and Dependency Inversion with real-world examples.

Test your knowledge!

Have you read all the articles? Check how much you've learned by taking this series' quizzes.

Take the quiz!