When creating a constructor for an object, I'm not clear if it should be newMyObject or initMyObject?
This is probably noted somewhere, but I can't ever find it. Is it in the Nep style? I've seen both formats and I always forget what the recommend name. Is it based on ref vs value types?
Many thanks!
We tend towards the latter style that ElegantBeef points out (like so: https://status-im.github.io/nim-style-guide/language.objconstr.html)
One more thing though: if your type can work without a constructor - ie all objects in nim init to all-zeroes - life will be easier for you in general.