Javascript must be enabled to continue!
An exemplar based Smalltalk
View through CrossRef
Two varieties of object-oriented systems exist: one based on classes as in Smalltalk and another based on exemplars (or prototypical objects) as in Act/1. By converting Smalltalk from a class based orientation to an exemplar base, independent instance hierarchies and class hierarchies can be provided. Decoupling the two hierarchies in this way enables the user's (logical) view of a data type to be separated from the implementer's (physical) view. It permits the instances of a class to have a representation totally different from the instances of a superclass. Additionally, it permits the notion of multiple representations to be provided without the need to introduce specialized classes for each representation. In the context of multiple inheritance, it leads to a novel view of inheritance (or-inheritance) that differentiates it from the more traditional multiple inheritance notions (and-inheritance). In general, we show that exemplar based systems are more powerful than class based systems. We also describe how an existing class based Smalltalk can be transformed into an exemplar-based Smalltalk and discuss possible approaches for the implementation of both and-inheritance and or-inheritance.
Association for Computing Machinery (ACM)
Title: An exemplar based Smalltalk
Description:
Two varieties of object-oriented systems exist: one based on classes as in Smalltalk and another based on exemplars (or prototypical objects) as in Act/1.
By converting Smalltalk from a class based orientation to an exemplar base, independent instance hierarchies and class hierarchies can be provided.
Decoupling the two hierarchies in this way enables the user's (logical) view of a data type to be separated from the implementer's (physical) view.
It permits the instances of a class to have a representation totally different from the instances of a superclass.
Additionally, it permits the notion of multiple representations to be provided without the need to introduce specialized classes for each representation.
In the context of multiple inheritance, it leads to a novel view of inheritance (or-inheritance) that differentiates it from the more traditional multiple inheritance notions (and-inheritance).
In general, we show that exemplar based systems are more powerful than class based systems.
We also describe how an existing class based Smalltalk can be transformed into an exemplar-based Smalltalk and discuss possible approaches for the implementation of both and-inheritance and or-inheritance.
Related Results
HotDraw (abstract)
HotDraw (abstract)
HotDraw is a framework for structured drawing editors that has
been floating around the Smalltalk community for several years
under several incarnations. It was originally develope...
Programmation orientée objet avec Smalltalk
Programmation orientée objet avec Smalltalk
Didactique et intuitif, cet ouvrage d’apprentissage basé sur des mini-projets et des projets grandeur nature offre un support nécessaire pour acquérir une culture et un savoir-fair...
Mixin-based inheritance
Mixin-based inheritance
The diverse inheritance mechanisms provided by Smalltalk, Beta, and CLOS are interpreted as different uses of a single underlying construct. Smalltalk and Beta differ primarily in ...
Tail Call Elimination in the OpenSmalltalk Virtual Machine
Tail Call Elimination in the OpenSmalltalk Virtual Machine
Tail call elimination is used by languages and compilers to optimize the activation of methods in tail position. While this optimization has been the source of much research, it ha...
Tail Call Elimination in the OpenSmalltalk Virtual Machine
Tail Call Elimination in the OpenSmalltalk Virtual Machine
Tail call elimination is used by languages and compilers to optimize the activation of methods in tail position. While this optimization has been the source of much research, it ha...
A Conversation with Alan Kay
A Conversation with Alan Kay
When you want to gain a historical perspective on personal computing and programming languages, why not turn to one of the industry’s preeminent pioneers? That would be Alan Kay, w...
Behind human faces : how exemplars experience the news process
Behind human faces : how exemplars experience the news process
Journalists often seek to put a "human face" on a systemic issue. The resulting source is an exemplar, or person whose story serves to illustrate a greater phenomenon. Journalism s...
An Exemplar Dashboard for the Assessment of Home Health Comorbidities
An Exemplar Dashboard for the Assessment of Home Health Comorbidities
Comorbidities are multiple co-occurring disorders associated with a primary diagnosis and affect health outcomes and cost of care. Using home health medical claims data, a comorbid...

