What's wrong with D's templates?
Tim Matthews
tim.matthews7 at gmail.com
Thu Dec 17 16:49:11 PST 2009
In a reddit reply: "The concept of templates in D is exactly the same as
in C++. There are minor technical differences, syntactic differences,
but it is essentially the same thing. I think that's understandable
since Digital Mars had a C++ compiler."
http://www.reddit.com/r/programming/comments/af511/ada_programming_generics/c0hcb04?context=3
I have never touched ada but I doubt it is really has that much that
can't be done in D. I thought most (if not all) the problems with C++
were absent in D as this summary of the most common ones points out
http://www.digitalmars.com/d/2.0/templates-revisited.html.
Your thoughts?
More information about the Digitalmars-d
mailing list