Hacker News new | ask | show | jobs
by ddxxgg 3134 days ago
Nim beginner here. I wanted to see if I was capable of making an equivalent program in Nim. I'm still a bit confused about some of Nim's conventions and idioms, mostly revolving around when to use objects vs. ref objects, and how to properly construct an object. Care to take a look at my code and give me some pointers (heh)?

https://gist.github.com/anonymous/1e3d7045de67f59c676135fead...