3 ms·
Fails in any programming language, too. delay_seconds = 300; [...] Thread.sleep(delay_seconds); This kind of bug can easily surface if you need th
by Someone 5y ago
Fails in any programming language, too.
delay_seconds = 300;
[...]
Thread.sleep(delay_seconds);
This kind of bug can easily surface if you need the constant for calls taking different units and can be hard to spot.
- gpderetta 5y agoYes; still parent solution is better than nothing if you have to deal with an existing API. At least if you make a mistake there is a chance someone else might spot it instead of wondering what the original intent was.