2 ms·
I use templates. My Perl template is: use MooseX::Declare; class $classname { } My Haskell template is: module $module where If you need anyth
by jrockway 17y ago
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.
- Legion 17y agoComment 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.
- jrockway 17y agoYup, and my templates include that section.