4 ms·
I'd be violently allergic to the case insensitivity in a dynamically typed language where you could declare a variable with something like "foo = 1" but I'm fin
by Symmetry 11y ago
I'd be violently allergic to the case insensitivity in a dynamically typed language where you could declare a variable with something like "foo = 1" but I'm fine with it in Nim.
EDIT: s/sensitivity/insensitivity/
- masklinn 11y ago> I'd be violently allergic to the case sensitivity in a dynamically typed language where you could declare a variable with something like "foo = 1" but I'm fine with it in Nim. Do you mean "case insensivity"? AFAIK dynamic languages where you can do that are very much case-sensitive, Python and Ruby certainly are.
- scardine 11y agoYou are technically correct - the best kind of correct. I agree, but my concern is not correctness, it is aesthetics. Why? Reading a computer program is often harder than writing it from scratch, so I like when languages enforce (or at least encourage) a name convention - just to keep it easier to read. Does Nim have something like PEP-8?
- dom96 11y ago> Does Nim have something like PEP-8? https://github.com/nim-lang/Nim/wiki/Style-Guide-for-Nim-Code https://github.com/nim-lang/Nim/wiki/Style-Guide-for-Nim-Cod...
- kungtotte 11y agoThis is also why I don't mind/actively like significant whitespace. It doesn't matter for my own code because I already write it that way, but it enforces good indenting behavior on others who might otherwise forgo it.