What exactly is an object oriented code?

I used to code programs for more than seven years and during many of these years, i was unable to clearly explain what is an OOC (object oriented code).

For a lot of web developers, an object is just the result of a class instantiation.

Really?
Well, if you think like that, you’re probably not really understanding the basic notion of an object.

Let’s go back to this basic notion.
An object is something which is purposed to help you accomplish something else by its properties.

So by definition, an object in development is a contract (interface), between you and the kind of result (abstracted resulted) you desire from it.
By example, in php, an object can only be a class that implements an interface and extends one or many abstractions.

That’s all, have fun about this.

Edouard Kombo // @edouardkombo. Never stop learning.

Advertisements
What exactly is an object oriented code?

One thought on “What exactly is an object oriented code?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s