2 ms·
I'm just saying, this form of "Hungarian" variable names is useful, to always include the unit. Not everything should be a type. If all you're doing is calcul
by crazygringo 2y ago
I'm just saying, this form of "Hungarian" variable names is useful, to always include the unit.
Not everything should be a type.
If all you're doing is calculating the difference between two calls to time(), it can be much more straightforward to call something "elapsed_s" or "elapsed_ms" instead of going to all the trouble of a Duration type.