CSC/ECE 517 Fall 2010/ch6 6a RJ: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== '''Delegation-based Programming Languages''' == | |||
Delegation-based programming languages, also known as Prototype-based programming languages, represents a style of object-oriented programming in which classes are not present, and behavior reuse (known as inheritance in class-based languages) is performed via a process of cloning existing objects that serve as prototypes. This model can also be known as class-less, prototype-oriented or instance-based programming. Delegation is the language feature that supports prototype-based programming. | |||
The original, and most canonical, example of a prototype-based language is the programming language Self developed by David Ungar and Randall Smith. Since the late 1990s, the classless programming style has grown increasingly popular, and has been adopted for the languages JavaScript, ActionScript, Cecil, NewtonScript, Io, MOO, REBOL, Lisaac, Lua and | |||
several others.[http://en.wikipedia.org/wiki/Prototype-based_programming [1]] | |||
== '''Self''' == | |||
Info about Self Language goes here. | |||
== '''Javascript''' == | |||
Info about Javascript Language goes here. | |||
== '''Io''' == | |||
Info about Io Language goes here. | |||
== '''References''' == | |||
[1] [http://en.wikipedia.org/wiki/Prototype-based_programming http://en.wikipedia.org/wiki/Prototype-based_programming] |
Revision as of 03:07, 16 November 2010
Delegation-based Programming Languages
Delegation-based programming languages, also known as Prototype-based programming languages, represents a style of object-oriented programming in which classes are not present, and behavior reuse (known as inheritance in class-based languages) is performed via a process of cloning existing objects that serve as prototypes. This model can also be known as class-less, prototype-oriented or instance-based programming. Delegation is the language feature that supports prototype-based programming.
The original, and most canonical, example of a prototype-based language is the programming language Self developed by David Ungar and Randall Smith. Since the late 1990s, the classless programming style has grown increasingly popular, and has been adopted for the languages JavaScript, ActionScript, Cecil, NewtonScript, Io, MOO, REBOL, Lisaac, Lua and several others.[1]
Self
Info about Self Language goes here.
Javascript
Info about Javascript Language goes here.
Io
Info about Io Language goes here.
References
[1] http://en.wikipedia.org/wiki/Prototype-based_programming