logoalt Hacker News

superjantoday at 5:16 AM3 repliesview on HN

About the use of different units: next time you choose a property name in a config file, include the unit in the name. So not “timeout” but “timeoutMinutes”.


Replies

layer8today at 6:33 AM

Or require the value to specify a unit.

show 1 reply
weird-eye-issuetoday at 5:48 AM

timeoutMs is shorter ;)

You guys can't appreciate a bad joke

show 3 replies