D - another vote for better templates
- Glen Whitney (10/10) Apr 15 2004 Just another "vote" that I would try D for programming projects under my...
- Dave Sieber (7/14) Apr 15 2004 I haven't used templates with D yet, but on the face of it, implicit
Just another "vote" that I would try D for programming projects under my control if it had more attractive template features, especially including implicit template instantiation, which I (like many posters here) feel is an essential feature for generic programming. (D's inline functions wallop C++'s functor-classes in this regard, but it's hard or at the very least unpleasant to really capitalize on that advantage without implicitly-instantiated templates.) I am posting in the hopes that signs of enough demand might lead to improvement in this area... Otherwise, D does have the refreshing feel of C++ freed from its C legacy. Glen Whitney
Apr 15 2004
Glen Whitney <Glen_member pathlink.com> wrote:Just another "vote" that I would try D for programming projects under my control if it had more attractive template features, especially including implicit template instantiation, which I (like many posters here) feel is an essential feature for generic programming. (D's inline functions wallop C++'s functor-classes in this regard, but it's hard or at the very least unpleasant to really capitalize on that advantage without implicitly-instantiated templates.)I haven't used templates with D yet, but on the face of it, implicit instantiation seems like a good idea. Perhaps there are good reasons why Walter hasn't implemented it (and they have probably been discussed here, before my time :-) -- dave
Apr 15 2004