Created: 2023-08-27 10:40
Status: #concept
Subject: Programming
Tags: Object-Oriented Programming Inheritance Polymorphism Java Abstract Class

Abstraction

One of the main pillars of OOP and a key practice to simplify complex tasks into easy-to-consume APIs.

Creating Abstractions

There are multiple ways to create abstractions.

At the end of the day, they allow us to think of code as simple units that perform complex imperative tasks.

  1. Functions and Methods help us define code which we can be invoked and reused throughout the system.
  2. Objects group code and Properties into logical units and Data Structures.
  3. Frameworks and APIs expose features that can perform very complex tasks which can be used in development or modified for niche use-cases.

References