@wizzardx and @Ar , it's wonderful to have this feature. Thanks for the
code snippets.
Thanks Dom96. I bought the ebook version from Manning couple of weeks ago. I am
going to start reading/learning 'Nim in Action' once I finish the online
tutorial. I am really looking forward for this.
Thanks a mil @LeuGim, for the detailed answer. This is super helpful. I will
play around with them more by keeping your points in my mind.
Another newbie q? sorry, this is the second thread I am starting in 2 days. I
am wondering which are the ideal scenarios to use **'ref' to an object** in the
type declaration. Is 'ref' should be always used or only when class inheritance
functionality is used. Are there some best practices which
Thanks again @Lando for confirming this. It more clear to me now. Best Regards
@Lando, Many thanks for your reply, much appreciated. I was really confused.
This is how I understand the concept from your reply. Please correct me if I am
wrong.
* if ' s.host = 34 ' is called from the _same module_, it will directly
access the object variable bypassing the 's.host=' method
Aplologies, there was an error in my program, corrected now. My question still
stands though. Thanks.
Hello all,
A newbie here. I have been learning Nim using the online tutorials and is
thoroughly enjoying Nim . I have completed the part 1 and have advanced to Part
2 of the tutorial. Have a question regarding the setter methods discussed in
the 'Properties' section of the tutorial. Can you ple