Levi's Lisp Log

Thoughts and links relating to Lisp and computer theory

Prototype-Based Object Systems

Most well-known object-oriented programming languages have a concept of class, which defines a set of shared information for a group of objects. In these languages, every object is an instance of at least one class, and inheritance is defined between the classes. There is, however, an alternate way to define shared data and inheritance among objects: Prototype-based object systems. These languages use prototypical objects instead of classes to determine shared traits, which allows for some interesting flexibility that is not commonly found in class-based systems. Some examples of prototype-based languages are Self, Javascript, and Io.

# Posted by: Levi at 9:44 PM on Monday, June 6, 2005
   Comments: (0) Categories: OOP

Post a Comment

Name:
Email:
URL:
What is the square root of 4?:
Comment: