Creating a Grunt Task from Spaghetti to Rock Solid Code par Thomas Parisot

We have an idea, we code it as a custom task in our `Gruntfile.js` and… *it works*!

Then we sleep on it for 6 months and someone stumble on us, revealing some software weakness we have trouble to fix **because we don't remember well** what was our state of mind at the time of writing the code.

*This is not bad*. This is how it often works in the *real world*.
We will learn how to make that **code beautifully speaking by itself**, embracing a *design features* approach rather than the *code stuff tested on runtime* one.

And if you never wrote *unit tests*, this is definitely the trigger which **will break your fear** and share your knowledge of your code across your team.

Cette vidéo est sous licence CC-By 4.0