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

Andreas Raab andreas.raab at gmx.de
Fri Jan 8 07:21:19 UTC 2010


Hi there -

I just realized how silly it is to write code like:

	(Delay forSeconds: 60) wait.
	(Delay forMilliseconds: 1000) wait.

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?

Cheers,
   - Andreas



More information about the Squeak-dev mailing list