Click here to Skip to main content
13,055,047 members (60,907 online)
Rate this:
Please Sign up or sign in to vote.
Hello friends,

Please guide me I want to make a clear difference between Object Oriented Languages and Object Based Languages/

I checked over the net where I found some information but they were clashing.

Javascript is an Object Oriented Programming and in another forum I found it was written Javascript is an Object Based Programming. which one is correct no idea..

AND what's the reason behind that a language is either Object oriented or Object Based. Or How can I judge which language is Object oriented and Object based?

Please guide me... I don't want to get more confuse.

Posted 22-Nov-11 17:52pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

First of all, read about the basics:[^],[^].

You may find that the notion of "object-based" is not well-defined. This is true. This notion came with some languages which cannot be called truly object-oriented. This is something like Rubic Cube with all facets painted in the same green color. Not rotating. (One may ask: Why green, not some other color? For the military. :-)) One example is VB6.

In my understanding, "object-oriented" is started with the dynamic dispatch or dynamic binding and hence, a possibility for late binding, see:[^],[^].

As to the requirement for inheritance (which is by some reason is called as a primary distinguished object-oriented feature in the the first referenced article), it comes with late binding automatically, because without inheritance nothing is "late". :-)

This is where OOP is started. Next important feature, interfaces, was not initially introduced in OOP, so it is not considered as absolutely required for OOP. Same thing about delegates and events and, finally, reflection. All these features are considered to be integral part of OOP, but not absolutely required. As to generics, they are pretty much unrelated.

Manish Namdev 23-Nov-11 1:40am
Thanks SAKryukov
SAKryukov 23-Nov-11 1:41am
My pleasure.
Good luck,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 23 Nov 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100