CSC/ECE 517 Fall 2010/ch6 6a RJ: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
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. | 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 | 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 [[Wikipedia:Javascript|Javascript]], ActionScript, Cecil, NewtonScript, Io, MOO, REBOL, Lisaac, Lua and | ||
several others.[http://en.wikipedia.org/wiki/Prototype-based_programming [1]] | several others.[http://en.wikipedia.org/wiki/Prototype-based_programming [1]] | ||
Revision as of 00:18, 17 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.
Actionscript
Info about Actionscript Language goes here.
Lua
Info about Lua Language goes here.
Io
Info about Io Language goes here.
Delegation-based Programming Languages compared to Class-based Programming Languages
Intro
Delegation-based Programming Languages compared to C++
Delegation-based Programming Languages compared to Java
Delegation-based Programming Languages compared to Ruby
References
[1] http://en.wikipedia.org/wiki/Prototype-based_programming