[squeak-dev] Delay for: 60 seconds vs. Delay forSeconds: 60.

Levente Uzonyi leves at elte.hu
Fri Jan 8 15:33:19 UTC 2010


On Fri, 8 Jan 2010, K. K. Subramaniam wrote:

> On Friday 08 January 2010 12:51:19 pm Andreas Raab wrote:
>> when we have units available and might as well say:
>>
>>         (Delay for: 60 seconds) wait.
>>         (Delay for: 5 days + 3 hours + 17 minutes) wait.
>>
>> What do people think about this? Overkill or just right?
> I prefer
>   60 seconds wait.

An #asDelay send doesn't make much difference IMO, and it just works:
60 seconds asDelay wait.
Though #wait can be added to Duration as self asDelay wait.


Levente

>
> ;-) .. Subbu
>
>



More information about the Squeak-dev mailing list