DEV Community

Discussion on: Nim First Impressions

Collapse
 
jorjun profile image
jorjun

I adore the semantic whitespace in Nim. Given so many coders nowadays are not professional, and looking at the growth rate of Python it is surprising Swift & Rust haven't followed suit.

But unlike Python, if you define a class in Nim you can't indent all of the methods, so looking at a large program in Nim looks a bit like reading giant nerdy C source - just minus the {} braces and the ; semicolons.

Indentation really helps at the application layer. But as you suggest, Nim right now seem targetted at competent C programmers who want extra leverage. But it falls between two styles at the moment. One to watch though.