Object-based
Encyclopedia
In general, object-based indicates that something such as a theory, language, or model is based on the concept of object
.
In computer science
, the term object-based has two different senses:
Visual Basic
is an example of a language that is object-based in the first sense of the term, and JavaScript is an example of the second.
Object (philosophy)
An object in philosophy is a technical term often used in contrast to the term subject. Consciousness is a state of cognition that includes the subject, which can never be doubted as only it can be the one who doubts, and some object or objects that may or may not have real existence without...
.
In computer science
Computer science
Computer science or computing science is the study of the theoretical foundations of information and computation and of practical techniques for their implementation and application in computer systems...
, the term object-based has two different senses:
- A somehow limited version of object-oriented programmingObject-oriented programmingObject-oriented programming is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction,...
, where one or more of the following restrictions applies: (a) There is no implicit inheritanceInheritance (object-oriented programming)In object-oriented programming , inheritance is a way to reuse code of existing objects, establish a subtype from an existing object, or both, depending upon programming language support...
, (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).
Visual Basic
Visual Basic
Visual Basic is the third-generation event-driven programming language and integrated development environment from Microsoft for its COM programming model...
is an example of a language that is object-based in the first sense of the term, and JavaScript is an example of the second.