Hacker News new | ask | show | jobs
by wizardofdos 1582 days ago
As common as it is wrong.

Why is the constant screaming at me? Why is the fact that it's a constant important enough to be encoded in the styling of the letters, but not important enough to be encoded in the name. Why isn't the IDE or the compiler keeping track of the constantness of the variable and reminding me to not do the wrong thing? If they can and are, why am I not trusting them? And if they can't, why am I writing in a language that doesn't even have JavaScript levels of a type system?