( )
just changes the priority of an execution but the program is executed[ ]
blocks program execution: the program is NOT executed
Use [ expressions ]
when:
expressions
may not be executed at all (if, and, ...)expressions
may be executed multiple times (while, ...)
timesRepeat:
executes a number of times its argument, therefore the argument is a block
ifTrue:
may execute or not its argument, therefore the argument is a block
whileTrue:
may execute both its receiver and argument multiple times, therefore they are both a block
( )
is about changing the order of a computation[ ]
is freezing the computation and controlling it/