> you can't mix inheritance with un-managed raw pointers That is an interesting point, I was wondering about it this morning already when I wrote my first reply.
I am still not sure. I could generally imagine that inheritance can work with with un-managed raw pointers. But maybe not in Nim? @dataPulverizer note that create() may be easier to use, as with create() no cast is necessary. @snej The book is in a very early stage still, I wrote the two chapters in April. And it is mostly for people with very less programming experience.
