413416 (1) [Avatar] Offline
Hi Dominik.
Thanks a lot for your book, it is a great start point for any beginner in Nim!

If it is not too late, I would be happy, If you add atleast a little explanation and comparison with pros and cons about using objects, object refs and tuple types.

I mean when a programmer should use a tuple type and when it is better to use object or object ref.

As I understand, tuple and object types are allocated in stack and it is like C structures...and they don't have any differences. These types have minimum penalty or latency to field access. Object ref type reference to an object allocated on the heap and has more access time. Am I right?

xxlabaza (2) [Avatar] Offline
dom96 (75) [Avatar] Offline
Too late for this I'm afraid.