www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - templates. Millions of them.

reply ore-sama <spam here.lot> writes:
And what makes people writing a lot of template code? FP? Then template phobia
just shows that templates aren't a good technique for FP.
Oct 08 2008
parent "Denis Koroskin" <2korden gmail.com> writes:
On Wed, 08 Oct 2008 22:00:15 +0400, ore-sama <spam here.lot> wrote:

 And what makes people writing a lot of template code? FP? Then template  
 phobia just shows that templates aren't a good technique for FP.
It reduces code duplication. You can't know the benefit unless you really start using them. And once started, you can't stop anymore. :)
Oct 08 2008