Article: Writing Julia style multiple dispatch code in D

Jean-Louis Leroy via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Aug 30 10:29:42 PDT 2017


On Wednesday, 30 August 2017 at 17:16:59 UTC, data pulverizer 
wrote:
>
> p.p.s
>
> typeof(x[1]) # returns Cat
>
> so it isn't really polymorphism - the object is never converted 
> to the "parent" type! Lol ... sorry for the confusion!
>> Which is polymorphism

Haha what I know of Julia is what wikipedia says. Confusing 
indeed...


More information about the Digitalmars-d-announce mailing list