What to believe?

Piers Cawley pdcawley at bofh.org.uk
Tue Jun 26 20:24:39 UTC 2007


What is a young Smalltalker to do? SmallLint forcefully suggests that:

^ Preferences optionalButtons
    ifTrue: [OBFixedButtonPanel new]

should be rewritten as:

^ Preferences optionalButtons
    ifTrue: [OBFixedButtonPanel new]
    ifFalse: [nil]

which would be fine, but as soon as I try and pretty print the
rejigged method, it reverts to the version without the ifFalse:
clause?

Two tools enter, one tool leaves. But which one?



More information about the Squeak-dev mailing list