CSC/ECE 517 Fall 2010/ch6 6a RJ: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


Info about Javascript Language goes here.
Info about Javascript Language goes here.
=== '''Actionscript''' ===
Info about Actionscript Language goes here.
=== '''Lua''' ===
Info about Lua Language goes here.





Revision as of 03:15, 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.

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