Jump to content

Smalltalk Programming/Preliminaries

From Wikibooks, open books for an open world

Smalltalk is a fully object oriented language.

The most important and consistent ideas in the language are that:

  1. there are objects
  2. send messages to objects
  3. get back an object as the result.

So 2 + 3 is considered as "sending a message + to object 2, with argument 3 and the result of the message is another object 5"