DEV Community

Cover image for Object Oriented Programming (OOP)
Jack Pritom Soren
Jack Pritom Soren

Posted on

2 1

Object Oriented Programming (OOP)

What is OOP ?

Object Oriented programming (OOP) is a programming paradigm that relies on the concept of classes and objects. It is used to structure a software program into simple, reusable pieces of code blueprints (usually called classes), which are used to create individual instances of objects.

oop Pic

Advantage :

  • Reusable, objects can be used across programs

  • OOP models complex things as reproducible, simple structures

  • Easier to debug, classes often contain all applicable information to them

  • Secure, protects information through encapsulation

Structure of OOP :

The structure, or building blocks, of object-oriented programming include the following:

  • Classes

  • Objects

  • Methods

  • Attributes

Main Principles of OOP :

  • Encapsulation

  • Abstraction

  • Inheritance

  • Polymorphism

Programming languages designed primarily for OOP include:
Java,Python,C++

Other programming languages that pair with OOP include:
PHP,JavaScript

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more