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)

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay