Created: 2023-03-02 08:39
Status: #concept
Subject: Programming
Tags: JavaScript Python Java

Object-Oriented Programming

A programming paradigm that organizes code into conceptual units called Classes which contains Methods and Constructors which can instantiate Objects which functions like the class used to build it.

  • these usually comes with the drawback of Tight Coupling, since we structure of the data and methods are defined in a high level before code is written.

The Four Pillars of OOP

  1. Abstraction
  2. Encapsulation
  3. Inheritance
  4. Polymorphism

The SOLID Principles

In software engineering, SOLID is a mnemonic acronym for five design principles intended to make object-oriented designs more understandable, flexible, and maintainable.

References