【24h】

SW 2 - An object-based programming environment

机译:SW 2-基于对象的编程环境

获取原文
获取原文并翻译 | 示例

摘要

Programming systems traditionally deal with only a few different types of data objects. Operating-system command languages, for example, are concerned with files and programs. Typical programming languages deal with computer-related objects such as integers, strings, arrays, and records. This is in sharp contrast to the variety of real-world objects that people reason about. Smallworld is a programming environment in which the real world is represented by objects that have properties. A property represents a fact about the corresponding real-world entity. Thus Smallworld actions (programs), which operate on objects specified in this simple but general way, are "smart": they consider all of the relevant facts concerning (that is, all of the properties of) the objects they manipulate.

rn

Smallworld was strongly influenced by the design of Smalltalk, especially in the organization of objects into classes and superclasses. The two languages differ (1) in theirtreatment of the difference between classes and objects that are not classes and (2) in their definition of methods that act on classes. Smallworld minimizes the differences between classes and non-class objects, resulting in a simpler and more consistent system. Where Smalltalk is a programming language using a pure object-oriented paradigm and dependent on a powerful graphical interface, Smallworld is a shell language that runs on conventional terminals and allows multiple program paradigms where appropriate.

机译:

传统上,编程系统仅处理几种不同类型的数据对象。例如,操作系统命令语言与文件和程序有关。典型的编程语言处理与计算机有关的对象,例如整数,字符串,数组和记录。这与人们推理的各种现实对象形成鲜明对比。 Smallworld是一种编程环境,其中的现实世界由具有属性对象表示。属性表示有关相应现实世界实体的事实。因此,以这种简单但通用的方式对指定对象执行操作的Smallworld动作(程序)是“智能”的:它们考虑了与所操纵对象有关的所有相关事实(即其所有属性)。 rn

Smallworld受Smalltalk设计的强烈影响,特别是在将对象组织成类和超类方面。两种语言的不同之处(1)在处理非类的类与对象之间的差异时,以及(2)在对作用于类的方法的定义方面。 Smallworld最小化了类和非类对象之间的差异,从而产生了一个更简单,更一致的系统。 Smalltalk是一种使用纯面向对象范例并依赖强大的图形界面的编程语言,而Smallworld是一种在常规终端上运行的外壳语言,并在适当的情况下允许多个程序范例。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号