On 06/16/2010 02:33 PM, Holger Hans Peter Freyther wrote:
On 06/12/2010 04:30 PM, Paolo Bonzini wrote:
Answering both question with a citation from "Smalltalk Best Practice Patterns":
Is that available somewhere or do you have the ISBN Number?
Amazon says 978-0134769042.
If I write code like this, I don’t mean “here are two alternative
paths of execution,”, I mean, “here are two alternative values to be
returned.” Thus, a Conditional Expression expresses my intent more
clearly:
Would something like the attached patch work for it?
Yes, that would be it. However, I'm not sure about the benefit of
complicating the logic of the #ifTrue: block.
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk