Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: