DEV Community


learning nim lang

Tony Colston
wanna be gamedev ... all around nerd and dev
・1 min read

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:

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

Discussion (0)