News for hackers. Stuff that matters.
Re:Show HN: “Nim in Action” is now available by scardine on Thursday January 28, 2016 @11:15AM (#10989004)
I guess you are not a great fan of Python.

C was my first language, so I had the "significant white space" prejudice. The first time I tried it, I was hooked - because I hate code improperly indented.

Yes, you can go the gofmt route in order to eliminate indentation wars, but I love languages where the syntax enforce it: it is a very pragmatic design (no need for explicit start/end of blocks, no ";" to mark the end of the statement).

Strange enough, Nim enforces indentation but is very liberal with case sensitivity. Go figure... :-)

Re:Show HN: “Nim in Action” is now available by Symmetry on Thursday January 28, 2016 @11:38AM (#10989185)
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/

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)
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.