编程范型 | 面向对象, 基于原型 |
---|---|
语言家族 | Smalltalk |
設計者 | David Ungar,Randall Smith |
實作者 | David Ungar, Randall Smith, 斯坦福大学, Sun微系统 |
发行时间 | 1987年 |
当前版本 |
|
型態系統 | 动态, 强类型 |
許可證 | 类BSD许可证 |
網站 | www |
主要實作產品 | |
Self | |
啟發語言 | |
Smalltalk, APL[2] | |
影響語言 | |
NewtonScript, JavaScript, Io, Agora, Squeak, Lua, Factor, REBOL |
Self语言,是一种基于原型的面向对象的程序设计语言,也是一个集成开发环境和运行环境,由David Ungar和Randy Smith,最初在1986年于施乐帕罗奥多研究中心设计。Self语言在Smalltalk的基础上,采用“槽”取代了“变量”,从而彻底体现了一切都是对象的风格。在实现Self系统的过程中,设计研究人员发展出了一种动态自适应编译技术。
Ungar always missed the productivity of APL and was drawn to Smalltalk not only for its conceptual elegance, but also because it was the only other language he knew that let him build working programs as quickly as in the good old days of APL. The design of Self was also influenced by APL; after all, APL had no such thing as classes: arrays were created either ab initio or by copying other arrays, just as objects are in Self.