Go has contempt for generics

BCS none at anon.com
Sat May 29 07:28:36 PDT 2010


Hello bearophile,

> Jonathan M Davis:
> 
>> Yes, you _can_ add things like generics into the language later, but
>> it can be quite disruptive to do so, and the result could be subpar
>> due to constraints such as backwards compatability.
>> 
> D didn't have templates for some time.

They showed up much closer to v0.01 than v1.00


> Maybe compile-time function execution plus a type type can replace the
> need for C++/D/Java style generics :-)
> Bye,
> bearophile
-- 
... <IXOYE><





More information about the Digitalmars-d mailing list