3 ms·
> Suppose you have MyVariable and my_variable in your code. Which is worse: them being the same variable or different variables? That's the same as saying "`a`
by tomp 12y ago
> Suppose you have MyVariable and my_variable in your code. Which is worse: them being the same variable or different variables?
That's the same as saying "`a` and `A` should be the same variable", i.e. complete case insensitivity.
> It's a pretty bad code smell either way.
Very much so. We shouldn't encourage it.