Sunday, June 3, 2012

Benefits of TDD

I just read a blog post about TDD and really like it, TDD for Those Who Don't Need It. It reminds me to my first impression when I start practicing TDD more than a year ago, it allows us to not have to to hold everything in our head.

By the way, that post also mentions to other TDD benefits. I want to note it down here just for a reference.
  • Not have to hold everything on our head. Just follow errors.
  • Confidence to refactor
  • Better design
  • Documentation
  • Regression

No comments:

Clojure has lesser typing error problems than the others well-known dynamic typing languages

Give these snippets a try. // JS function foo () {   bar(1) } # Ruby def foo   bar(1) end ; Clojure (defn foo []    (bar 1)) As yo...