|
|
|
|
|
by alpaca128
2420 days ago
|
|
But does a language with Python-like syntax really have to try to be so "beginner-friendly" that it enables inconsistent casing? The language itself can't enforce better variable names, at least not this way - Nim doesn't stop me from using "abcd" or "a0, a1, ... a100" as variable names even though it's usually a very bad idea. No, I think a language should help keeping the code consistent in the long term - and having this strange case insensitivity doesn't help there in my opinion. |
|
Not at all. Style insensitivity encourages good variable naming and there are both formatters and also the simple text completion in editors to guarantee consistency.