I guess the NEP needs a link to this document: 
[https://nim-lang.org/docs/apis.html](https://nim-lang.org/docs/apis.html)

**TL;DR:** You should define a ` newFruit` procedure which performs the 
"setup". That answers #1 and #3. (Note that for non-ref object the convention 
is `initFruit`)

As for #2, I'm not aware of any idiomatic name. I always name it whatever I 
wish, if I were to pick something it would be `self` though.

Reply via email to