News for hackers. Stuff that matters.
Re:Computer Programming with Nim by zinclozenge on Sunday February 27, 2022 @12:36PM (#30490526)
Nim never looked even close to Python for me, no matter how hard I squinted.
Re:Computer Programming with Nim by cb321 on Sunday February 27, 2022 @12:55PM (#30490681)
I think most confusions come from how divisive significant white space can be and Python being the most popular among that class of surface syntaxes. I am aware (and maybe you are, too) that there is a long list besides Nim: https://en.wikipedia.org/wiki/Off-side_rule, but this does not seem to be very common knowledge.
Re:Computer Programming with Nim by dzamo_norton on Sunday February 27, 2022 @03:35PM (#30492223)
I think this is a big part of the aesthetic similarity. Without curly, or ordinary, brackets delimiting code blocks you get that nice clean look. Having used Python a lot for a period (and having made one toy app in Nim) I now find especially curly brackets visually noisy.