原文:http://www.eli.sdsu.edu/courses/spring01/cs635/readingSmalltalk.pdf

标题: I Can Read C++ and Java But I Can’t Read Smalltalk

作者: Wilf LaLonde

"this is a commit"
'this is a string'
#'This is a symbol'
#ThisIsSymbolToo'

:= // Means assignment

= //Means equality comparison

== //Means identity comparison

#(1 2 3 4 5)
"string1string2"
'string1', 'string2'

Keywords Are Pervasive


| t a v |
| aTransformation angle aVector|

self rotateBy: angle around: vector
|result|
result := COMPUTE ANWSER.
^result