Download presentation
Presentation is loading. Please wait.
1
History of the language self Sandeep K Gude
2
History Designed by - David Ungar, Randall Smith Presented as "SELF: The Power of Simplicity", OOPLSA '87,
3
History Continued….. Initial implementation was undertaken at Stanford University in 1987 Self was used as a vehicle for language, environment, user interface and implementation research
4
History continued…. A public releases of Self from stanford took place in 1990. In 1991 the Self project moved to Sun Microsystems Labs.
5
Context There is a (n)ever ending thirst for a pure object oriented approach of programming. eg Camp Smalltalk: meetings for discussions on Object oriented programming
6
Context …. A programming language which can be self supporting A programming langugage which can over come the inadequacies of the operating system.
7
Elements of the language Kristin Ruble
8
What is Different about SELF No Classes No variables Objects have slots not instance variables Objects created by “cloning” a prototype
9
Self based on a small number of simple and concrete ideas Prototypes Slots Behavior
10
Prototypes Prototypes combine inheritance and instantiation to provide a framework that is simpler and more flexible than most object-oriented languages
11
Slots Slots unite variables and procedures into a single construct This permits the inheritance hierarchy to take over the function of lexical scoping in conventional languages
12
Behavior Self does not distinguish state from behavior Narrows the gaps between ordinary objects, procedures, and closures Self's simplicity and expressiveness offer new insights into object-oriented computation.
13
SELF Objects
14
Self Objects
15
Example:SELF True
16
Its position with respect to other languages Brian Barcomb
17
Similarities Object-Oriented
18
Similarities Object-Oriented Closely related to Smalltalk -syntax -no type declarations -block usage -exploratory style
19
Differences Simplicity Concreteness No Classes Object-Level Inheritance Prototypes Messages
20
In a class-based language
21
In SELF
22
Conclusion of Language Comparison Self’s simplicity and expressiveness offer new insights into object oriented computation
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.