4 ms·
One place this is really important is time. Never use a bare integer or float for measuring time (is it seconds? milliseconds? nanoseconds?), but something stro
by cdoxsey 9y ago
One place this is really important is time. Never use a bare integer or float for measuring time (is it seconds? milliseconds? nanoseconds?), but something strongly-typed like datetime in python, or time.Time in Go.
Also please do this in your configuration.
Yes:
timeout: 20s
Or:
timeout_s: 20
But not:
timeout: 20
Future you will thank you.