Re:Why I love Smalltalk
by chc on Friday July 29, 2011 @01:43PM
(#2822931)
How is it "bait-and-switch-y"? Where's the switch? That is actually how if works in Smalltalk. The true block is evaluated when ifTrue:ifFalse: is sent to True and the else block is evaluated when ifTrue:ifFalse: is sent to False. It's just normal message dispatch.
[ Parent
| on HN ]
There are no comments on this comment yet.