News for hackers. Stuff that matters.
Re:Why I Write Games in C by lobster_johnson on Saturday January 09, 2016 @04:24PM (#10872942)
I think Haskell gets whitespace-sensitive indentation right. It is a lot less strict than Python, and if you didn't know it was whitespace-based you wouldn't necessarily realize it. Thanks to the functional nature of the language, the "hanging block" problem you have in Python (where the lack of an explicit end construct has blocks indent but never "close") doesn't really exist.
Re:Why I Write Games in C by vidarh on Monday January 11, 2016 @12:37PM (#10881809)
I wouldn't know - I gave up on Haskell because of the cryptic syntax long before I got to the stage of hating on smaller syntactic details... I love a lot of concepts from functional programming, but I wish I could get them in a language with a syntax more like Ruby and very much less than Haskell.