Brett Sutton wrote:
> I notice that you
> deprecated an int version of setTimeout, I would rather we had both, it
> just saves one extra character :)
>
> setTimeout(30000)
> rather than
> setTimeout(30000L)
>
> don't spend too much time thinking about it though.
I agree that ints would probably be just fine for durations in milli
seconds in this context. I try to have all milliseconds in long though
so it is more clear that they are millis. Maybe stupid but at least
somehow consistent...
=Stefan
|