Object-oriented programming language
Encyclopedia : O : OB : OBJ : Object-oriented programming language
An object-oriented programming language (also called an OO language) is one that allows or encourages, to some degree, object-oriented programming methods.
Simula (1967) is generally accepted as the first language to have the primary features of an object-oriented language. It was created for making simulation programs, in which what came to be called objects were the most important information representation. Smalltalk (1972 to 1980) is arguably the canonical example, and the one with which much of the theory of object-oriented programming was developed.
OO languages can be grouped into several broad classes, determined by the extent to which they support all features and functionality of object-orientation and objects: classes, methods, polymorphism, inheritance, and reusability.
- Languages called "pure" OO languages, because everything in them is treated consistently as an object, from primitives such as characters and punctuation, all the way up to whole classes, prototypes, blocks, modules, etc. They were designed specifically to facilitate, even enforce, OO methods. Examples: Smalltalk, Eiffel, Ruby.
- Languages designed mainly for OO programming, but with some procedural elements. Examples: Java, Python.
- Languages that are historically procedural languages, but have been extended with some OO features. Examples: C++, Fortran 2003, Perl.
- Languages with most of the features of objects (classes, methods, inheritance, reusability), but in a distinctly original, even elegant, form. Examples: Oberon, and successor Oberon-2.
- Languages with abstract data type support, but not all features of object-orientation, sometimes called object-based languages. Examples: Modula-2 (with excellent encapsulation and information hiding), Pliant.
Languages with object-oriented features
- Ada 95
- BETA
- Boo
- C++
- C#
- ColdFusion
- Common Lisp
- COOL (Object Oriented COBOL)
- CorbaScript
- Clarion
- Corn
- D
- Delphi
- Dylan
- Eiffel
- F-Script
- Fortran 2003
- Gambas
- IDLscript
- incr Tcl
- J
- JADE
- Java
- *Join Java
- Lasso
- Lava
- Lexico
- Lingo
- Modula-2
- *Modula-3
- *Objective Modula-2
- Nemerle
- Nuva
- NetRexx
- Nuva
- Oberon
- *Oberon-2
- Object REXX
- Objective-C
- Objective Caml
- Oz
- *Mozart Programming System
- Perl 5
- PHP
- Pliant
- PRM
- PowerBuilder
- Prototype-based languages
- *Actor-Based Concurrent Language, ABCL: ABCL/1, ABCL/R, ABCL/R2, ABCL/c+
- *Agora
- *Cecil
- *Cel
- *ECMAScript a.k.a. ActionScript, DMDScript, JavaScript, JScript
- *Io
- *Lua
- *MOO
- *NewtonScript
- *Obliq
- *REBOL
- *Self
- *Tcl with the snit extension
- Python
- REALbasic
- Revolution
- Ruby
- Sather
- Scala
- Simula
- Smalltalk
- *Self
- *Bistro
- *Squeak
- Squirrel
- STOOP (Tcl extension)
- Superx++
- TADS
- Ubercode
- Visual Basic
- *VB.NET
- *VBScript
- Visual FoxPro
- Visual Prolog
- Tcl
- *Xotcl similar to CLOS
- *Snit uses delegation
- *itcl similar to C++
- * many others
- ZZT-oop
Implementing designs expressed in UML
The Unified Modeling Language (UML) is a language-agnostic, non-proprietary modeling language that can be used to design object-oriented systems. It is generally regarded as the complete specification of OO, as an abstract design expressed in UML can ideally be implemented in any OO programming languages.UML specifies, among other things, a set of component types and relationships. There is currently no known OO language that inherently (i.e. without significant manual effort) supports the full OO capability. Features typically lacking include:
- Correct behaviour for the various component relationships (aggregation, composition).
- Polymorphism on message arguments.
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
