Re:Please put units in names
by RandallBrown on Monday March 21, 2022 @12:31PM
(#30756089)
If you change the unit, I think the variable should be changed everywhere.
It's hard to know what assumptions code is making and by forcing you to change the code everywhere (which should be pretty easy in any modern IDE) you at least have a chance to evaluate any issues that unit change could cause.
It's hard to know what assumptions code is making and by forcing you to change the code everywhere (which should be pretty easy in any modern IDE) you at least have a chance to evaluate any issues that unit change could cause.