> Looking for feedback

Not from me I guess?

Well, I regard that video as not of much value, as you describe how to create 
types and vars of object variants types. But the motivation is missing, and 
actual use cases are missing too. You said at the beginning something like 
"sometimes OOP is overkill, so we better use object variants in this case". 
That is definitely not enough for the motivation. How to create object variants 
types and vars is obvious from all the tutorials. The point is how to actually 
use them, and what are advantages compared to inheritated types in OOP design. 
Most important point is that all object variants have same size, so they can be 
stored as value types in seqs for good cache performance. But you also did not 
mention this important point. I know that objects variants are not the most 
simple part of Nim, I think my explanation in the kids books is not that good 
as well unfortunately. I think the name of the vars or types was also strange, 
was it like drawCirc? Can not remember, but I think it starts with draw, which 
indicates more a proc name. Maybe you can make a part two now explaining the 
missing parts. Have you already written some Nim programs yourself? Sometimes 
it helps learning and practice stuff first before teaching to others.

Well you asked for feedback. And to make it clear, I regard 99% of all youtube 
videos as garbage, I never watch them. Yours ones belong to the better ones.

Reply via email to