Link 26 Jul 4 notes Stuck in Meta: I’m finally diving into test-driven development (TDD), and two...»

stuckinmeta:

I’m finally diving into test-driven development (TDD), and two advantages come to mind:

  • Making tests pass is fun! It’s a game: checkmark, checkmark, checkmark. Short feedback cycles (aka. instant gratification) are critical in maintaining ‘programming morale’ and productivity.
  • Coded specs…

Very true. I like having tests mainly because they let me refactor without fear of breakages.

  1. jamesnvc reblogged this from stuckinmeta and added:
    mainly because they let me refactor without fear of breakages.
  2. stuckinmeta posted this

Design crafted by Prashanth Kamalakanthan. Powered by Tumblr.