Tips for golfing in Smalltalk
Use the ; operator to refer to the previous object

There is a convenient shorthand in Smalltalk used to refer to the previous object. Say we want to add 3 items to the set x.

x:=Set new
x add:5.x add:7.x add:'foo'


However, we can save a few bytes by using the ; operator:

x:=Set new
x add:5;add:7;add:'foo'