|
|
|
|
|
by nimmer
2419 days ago
|
|
It's shocking how people whine about case insensitivity without bothering to try using Nim for a while. Case insensitivity is a feature and it's meant to allow easy interfacing with C. And it also encourages clean code. With other languages you can have variables called "startdate", "start_date" and "startDate" in the same scope leading to bugs - especially when using completion in an editor - and poor readability. In Nim the compiler tells you that you are redefining the same variable in 3 different places and you can go and give them more meaningful names. |
|
There is a reason old languages were many times case insensitive but not anymore.