DEV Community

Danities Ichaba
Danities Ichaba

Posted on

3 1

What is Object oriented programming sef?

object oriented programming - (OOP):
is a collection of objects that with each other by
passing messages that transform their state."

Danities this confusing, ok hold let me explain...

In order to understand OOP, we need to understand what objects are in programming, and in order to understand object we need to understand primitive data types.

Primitive-data-types are a set of basic data types from which all other data types are constructed. Think of this as least minimal of data.

Specifically it often refers to data types that store single, simple values some primitive data types in JavaScript are:
Boolean, Strings, Symbol, Number, BigInt, NuLL, Undefined.

Now, an object is an instance of a class - a class is blueprint(template) of an object.

The 4 principles of #OOP are
encapsulation, abstraction, polymorphism and inheritance. Major object-
oriented languages are C++,Java JavaScript etc.

more on this.....

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

nextjs tutorial video

📺 Youtube Tutorial Series

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay