does squeak have an equivalent of #askFor:

Stéphane Rollandin lecteur at zogotounga.net
Sun Aug 13 19:27:22 UTC 2006


Diego Fernandez wrote:
> My rule of thumb is: Avoid ifTrue/ifFalse...:P
> Each "if" is a decision, a behavior specific to an object, so in most
> cases it can be resolved using messages sends.

well one could also say that each "if" is a question send to an object. 
what's wrong with asking questions to objects ?

Stef




More information about the Squeak-dev mailing list