[squeak-dev] Boolean whenTrue:whenFalse:
Marcel Taeumel
marcel.taeumel at hpi.de
Thu May 16 07:48:18 UTC 2019
Hi Nicolas,
I understand your concern. However, (1) #whenTrue: suggests that there will be eventually a true case ("when" vs. "if") and (2) it's too close to #ifTrue: and could be used too often but maybe not optimized. :-)
Also, I would need this for #detect: and #detect:ifNone:, too. :-D
Best,
Marcel
Am 14.05.2019 21:27:01 schrieb Stéphane Rollandin <lecteur at zogotounga.net>:
> Of course, we would have companions whenFalse:, whenTrue:whenFalse:...
+1
Stef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190516/abcdaf66/attachment.html>
More information about the Squeak-dev
mailing list
|