Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between object oriented and object based language

Tags:

javascript

oop

What is the difference between an object oriented and an object based programming language? Is JavaScript is an object oriented or based?

like image 553
VJAI Avatar asked Aug 05 '11 09:08

VJAI


People also ask

What is meant by object-based language?

Noun. object-based language (plural object-based languages) (computing) Any programming language that encapsulates the state and operations inside objects that may or may not support inheritance.

Is Java an object-oriented or object-based programming language?

Object Oriented Languages C#, Java, VB. Net are the examples of object oriented languages.


1 Answers

Wikipedia says:

In computer science, the term object-based has two different senses:

  • A somehow limited version of object-oriented programming, where one or more of the following restrictions applies: (a) There is no implicit inheritance, (b) there is no polymorphism, (c) only a very reduced subset of the available values are objects (typically the GUI components).

  • Prototype-based systems (that is, those based on "prototype" objects that are not instances of any class).

Javascript is object based.

like image 50
TJHeuvel Avatar answered Oct 09 '22 20:10

TJHeuvel