One of my favorite principles for software engineering is the DRY (don’t repeat yourself) principle. It’s often one the first things I think about before writing a line of code, because in the majority of cases it leads to smaller and more maintainable code bases.
Unfortunately, adhering to the DRY principle when working with build systems isn’t always easy. Some build systems require developers to write custom procedures for each task; which begets large and complex build processes that are sluggish and hard to maintain; which begets slow developer work flows; which begets developer sadness. So in an effort to combat developer sadness and adhere to the DRY principle, I propose, writing (and using) modular tasks at all cost.
Let’s stop repeating ourselves.
Since my build system of choice is Gulp.js, i’m advocating using (and writing) gtasks, to modularize common gulp tasks.