2 ms·
If you're passing around parameters, use a Duration class. Most languages have one: * https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html https:/
by deanCommie 5y ago
If you're passing around parameters, use a Duration class. Most languages have one:
* https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html https://docs.oracle.com/javase/8/docs/api/java/time/Duration...
* https://docs.microsoft.com/en-us/dotnet/api/system.timespan?view=net-6.0 https://docs.microsoft.com/en-us/dotnet/api/system.timespan?...
* https://en.cppreference.com/w/cpp/chrono/duration https://en.cppreference.com/w/cpp/chrono/duration
If you're putting something in a config file, as the blog says - always put the unit in the key name.