3 ms·
I know a lot of you may like case insensitive languages, but it just feels weird for me. And there is the "nim" language which makes no distinction between Came
by scardine 10y ago
I know a lot of you may like case insensitive languages, but it just feels weird for me. And there is the "nim" language which makes no distinction between CamelCase and snake_case.
- greggirwin 10y agoAt least it doesn't force any casing on you, as some languages do. Another thing to get used to is the ability to include characters in names that you normally can't, e.g., - and ?.
- jplatte 10y ago> At least it doesn't force any casing on you, as some languages do. I'm not convinced that is actually a good thing. It really annoys me when two libraries for the same language use different naming conventions, and so far I haven't had any trouble with the strict casing rules in Haskell, or the casing conventions in Rust where the compiler emits warnings when you don't follow them (that you can disable with an annotation if you really need to).
- greggirwin 10y agoWe, as programmers, will never convince anyone that our preferences are right for everyone else, even when there are strong technical arguments. In this case (pun intended), it's subjective. A lot of it is what we get used to.
- progman 10y agoI consider Nim's approach an advantage since it prevents nasty confusion by accidental typos, in particular in big projects with many modules.