DEV Community 👩‍💻👨‍💻

Tony Colston
Tony Colston

Posted on

learning nim lang

I have been working through advent of code trying to learn nim.

One thing that was not super clear to me was the overloading and definition of procs with objects/tuples.

I made a gist: https://gist.github.com/tonetheman/35c62e72d3d9cf7f333de40147bc5991

Nim looks like a ugly Python/Pascal. But how you call methods/fields on objects reminds me a lot of lua.

Top comments (0)

🌚 Life is too short to browse without dark mode