[Newbies] Re: break out of do

Bert Freudenberg bert at freudenbergs.de
Fri Oct 3 18:14:30 UTC 2008

Am 03.10.2008 um 11:02 schrieb Randal L. Schwartz:

>>>>>> "Bert" == Bert Freudenberg <bert at freudenbergs.de> writes:
> Bert> That would be a perfect opportunity to employ   
> #valueWithPossibleArgument:.
> And with this, the newbies heads have exploded. :)

Hehe :) If they followed the thread closely they will have noticed  
that this is a tangent, the original recommendation was to factor this  
out into a separate method and use a local return. And that's still  
the way you should do it.

Something to take away would be that Squeak lets you implement the  
control structures you need rather easily, which is great once you  
need it.

- Bert -

More information about the Beginners mailing list