Re:Please put units in names
by andrewzah on Monday March 21, 2022 @01:51PM
(#30757393)
Someone doing a half-assed refactor doesn't mean it's "dangerous" to encode a unit in a variable or function.
I do agree that generally it's better to use something like a struct that's more flexible, but doing that for every function is also quite verbose. For some functions the time requirement may never change as well.
I do agree that generally it's better to use something like a struct that's more flexible, but doing that for every function is also quite verbose. For some functions the time requirement may never change as well.