Separate tasks are classified as separate objects which simplifies the programming and allows multiple applications to perform their own tasks individually. Therefore, the programs become very short and the application becomes very fast.
A little example:
If you want to solve the following task:
(4 + 5) * (3 + 2)
Then you have to tell the computer the following statements:
1.Add 4 + 5
2.Write the result on page 1
3.Add 3 + 2
4.Write the result on page 2
5.Multiply the numbers on page 1 and 2
6.Write the result on page 3
In Smalltalk this would look like this:
| result1 result2 result3 result4 |
result1 := 4 + 5.
result2 := 3 + 2.
result3 := result1 * result2.
Extension of the example:
You want to compare the result to 45.
Depending on this, the number 0 or the number 1 should be written down.
This looks like the following:
result3 = 45
ifTrue: [result4 := 1]
ifFalse: [result4 := 0]
Simple explanations of computer languages in comparison, based on this example, are to be explored in this presentation - download: Programmierung eines Computers - ( J. Belger)
A good glimpse of the first programming terms and the beginning of the Smalltalk language can be seen in this overview by Serge Stinckwich and Damien Cassou. "Smalltalk"
Smalltalk is purely object oriented, reflexively and implicitly typed, and completely open.