Hacker News new | ask | show | jobs
by akvadrako 1525 days ago
The problem with Nim is that it doesn't follow the Zen of Python (nor does Python anymore but Python doesn't need to compete as a new language).

Basically, it's just too complicated and all over the place.

2 comments

I mainly program in Python, but Nim has its own Zen and I respect that it's different.

    Copying bad design is not good design.
    If the compiler cannot reason about the code, neither can the programmer.
    Don’t get in the programmer’s way.
    Move work to compile-time: Programs are run more often than they are compiled.
    Customizable memory management.
    Concise code is not in conflict with readability, it enables readability.
    (Leverage meta programming to keep the language small.)
    Optimization is specialization: When you need more speed, write custom code.
    There should be one and only one programming language for everything. That language is Nim.
If I wanted Zen of Python I'd just keep programming in Python ...
Python ecosystem, say Pytest, doesn’t follow Python zen either. It has implicit magic all over the place. String parsing from function names, the entire concept of fixtures is exact opposite of “explicit is better than implicit”.