Nobody understands templates?

Adam D. Ruppe destructionator at gmail.com
Fri Feb 28 10:49:41 PST 2014


A lot of my code doesn't use very many new templates either... my 
web code does use a few magic templates which fills in a lot of 
boilerplate, but the app code - the business logic - uses almost 
no templates at all. My xml/html dom.d library also uses very few 
templates, it just doesn't fit as well as plain classes there.

I think it just depends on what you're doing... if it's generic 
or boilerplate, templates rock, but much of a program isn't 
really generic.


More information about the Digitalmars-d-learn mailing list