Augustana University College

COMPUTING SCIENCE 370
Programming Languages


Smalltalk



Structural Organization

Smalltalk was designed as the language for the Dynabook:

Smalltalk is object-oriented, taking important ideas from Simula:

instantiation
the process of creating an object, an instance of some class of objects

messages
an action is requested by sending a message to some object;
e.g.,
   Scribe penup.
   Scribe go: 500

method
the code to be performed in response to a particular message

encapsulated state
variables and methods are contained in an object's private space

polymorphic
the same message may be defined for different types of objects, and may correspond to different code (methods) for each type of object (like operator overloading)

Data Structures

The dominant paradigm of programming in Smalltalk is simulation: internally represented objects model the properties and behavior of real-world objects.

Name Structures

Syntactic Structures

Control Structures