[squeak-dev] #doWhileTrue:

Stéphane Rollandin lecteur at zogotounga.net
Mon Mar 30 23:30:46 UTC 2020


> [this doThat ] doWhileTrue:[ thing farkle]
> 
> I mean, just look at it. Which block is the one being tested for the boolean? Are we saying this doThat gets excuted while thing farkle returns true? Or while this doThat  returns true we keep executing think farkle?
> 
> [this doThat ] whileTrueDo:[ thing farkle]
> 
> ... is at least bearable but seriously, why do we need anything other than whileTrue: here?

+1

Stef


More information about the Squeak-dev mailing list