What's wrong with D's templates?

Rainer Deyke rainerd at eldwood.com
Mon Dec 21 03:05:01 PST 2009


yigal chripun wrote:
> Rainer Deyke Wrote:
>> I prefer to think of option 2 as explicitly typed while option 3 uses
>> type inference.  Type inference is a good thing.

> You might prefer that but it's incorrect.

It's not incorrect, it's another way of looking at the same thing.
Structural type inference and compile-time dynamic typing are the same
thing.


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list