> One of the differences is that the first line of code is a "generic" proc 
> while the second is NOT. That said the compiler will generate 2 versions of 
> the same proc, one for "int" and one for "float", while the non-generic proc 
> will NOT. On a quick glance the generic version is heavier on compile-time 
> speed while the second non-generic is heavier on the runtime speed. So that 
> being said, if you need a proc that will work with MANY types and be complex, 
> it will be better to use the generic over the non-generic.

As I told you, better learn some Nim before making the next video. Such 
nonsense is really not good advertisement for Nim. How can you come to the idea 
that the second proc is none generic? As Nim is statically typed, int and float 
have no inheritance relation, and you are talking about procs, not about 
methods. Well I know some kids though the same, that was the reason why I wrote 
the kids book.

Reply via email to