News for hackers. Stuff that matters.
Re:Get Rid of Source Code Templates by jrockway on Sunday April 04, 2010 @02:47AM (#1239888)
I use templates.

My Perl template is:

   use MooseX::Declare;

   class $classname {
   }
My Haskell template is:

   module $module where
If you need anything more complicated than that, it's time to write code to fix the problem, rather than have your editor type the same text again and again and again and again.
Re:Get Rid of Source Code Templates by Legion on Sunday April 04, 2010 @03:43AM (#1239925)
Comment not related to the article.

The "templates" the article is talking about are large boilerplate comment blocks at the top of source code files, with license, attribution, changelog, etc. information. Nothing about executable code.

Re:Get Rid of Source Code Templates by jrockway on Sunday April 04, 2010 @04:04AM (#1239940)
Yup, and my templates include that section.