[squeak-dev] Protocol extension proposal: Boolean>>asBit ?
Randal L. Schwartz
merlyn at stonehenge.com
Mon Dec 7 01:37:29 UTC 2009
>>>>> "Igor" == Igor Stasenko <siguctua at gmail.com> writes:
Igor> i have multiple places which look like:
Igor> value := xpression + (someThing isFoo ifTrue:  ifFalse:)
My puzzlement arises here. Why? Why are you taking a state, and a boolean,
and changing state for that?
What's the bigger problem you're solving, that leads you to believe that
false = 0 and true = 1?
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
More information about the Squeak-dev