Re:Show HN: “Nim in Action” is now available
by masklinn on Thursday January 28, 2016 @11:43AM
(#10989227)
> 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.
Re:Show HN: “Nim in Action” is now available
by scardine on Thursday January 28, 2016 @12:42PM
(#10989743)
You 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?
Re:Show HN: “Nim in Action” is now available
by dom96 on Thursday January 28, 2016 @12:48PM
(#10989792)
> Does Nim have something like PEP-8?
https://github.com/nim-lang/Nim/wiki/Style-Guide-for-Nim-Cod...
Re:Show HN: “Nim in Action” is now available
by kungtotte on Thursday January 28, 2016 @11:50PM
(#10993568)
This 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.
EDIT: s/sensitivity/insensitivity/