Category:Smalltalk: Difference between revisions

Line 578:
 
== Influences ==
Smalltalk syntax is meant to be read like English sentences, and messages look like orders "someone doSomethingWith: anArgumentsomeArgument".
 
The syntax is very compact and almost every semantic feature is implemented via a messsage send to some receiver object, instead of being a syntactic language feature of the compiler. As such, and because the compiler is part of the runtime environment, changes, fixes and enhancements of such features can be made easily (and are made). It has and is therefore often used as a testbed for research.
 
Smalltalk's symbols correspond to Lisp symbols, blocks are syntactic sugar for lambda closures.
Anonymous user