Hello! Been using nim for a few days, been reading a lot and feel really happy right now!
Few questions (I myself come from high level languages although I've used few c) 1\. What is best to use: ref object or object and why. If using ref object, is "new" always needed? 2\. What's the difference between method and proc. I can't find much information about it. I do not understand what dynamic dispatch means. 3\. What are templates and why / when are they used. They seem like procs to me with rare types "untyped". 4\. Although I've tried basic importc pragma tests. Is there anywhere where I can fully find how to use it? Importing headers seems not to work giving me a not found (I tried adding the path to the compiler and yet not working. Local "header.h", not <header.h>. I've been watching the nim math library to see how it works. It shoud be easy to understand if it was written correctly... Thanks a lot for your time!
