9 ms·
When formulating the rule, they didn't understand the point of it. They think "naked constants === bad" is equivalent to "no numbers in source". Which, of cour
by function_seven 6y ago
When formulating the rule, they didn't understand the point of it. They think "naked constants === bad" is equivalent to "no numbers in source".
Which, of course, is wrong. They're not the same. Same bastardization happened to Hungarian Notation, IIRC. It was meant to add some information to variables, like `iterN` for a counter, or `lenX` for a length, but someone somewhere decided that you were meant to prefix with the most primitive of type info, so you get stupid shit like `intN` and `intX`, and aren't much more informed. (Especially with an IDE showing the type info)