3 ms·
I think one important point that Dan and others miss is that `const` enforces a single-assignment style of variable naming that many find preferable. It makes i
by mgraczyk 7y ago
I think one important point that Dan and others miss is that `const` enforces a single-assignment style of variable naming that many find preferable. It makes it easier to read and forces people to provide more thoughtful names for their variables. I'm not saying that this behavior is enough to justify using `const` everywhere, but it should be weighed in any judgement about style.