matt comments on Coding Rationally - Test Driven Development - Less Wrong

25 Post author: DSimon 01 October 2010 03:20PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (82)

You are viewing a single comment's thread. Show more comments above.

Comment author: matt 29 September 2010 10:46:50AM 6 points [-]

Jonathan - one of the reasons to write unit tests is so that programmers other than you can see what your code is designed to do (for occasional values of "programmers other than you" that includes you when you're not at your best). Inheriting someone else's bad tested code is much less painful than inheriting someone else's bad untested code.

(And I humbly observe that a larger proportion of the untested (or sparsely tested) code I've inherited has been bad than the tested code that I've inherited.)

Comment author: Jonathan_Graehl 29 September 2010 08:29:08PM 1 point [-]

I agree that automated tests are more important in multi-person projects. I do value whatever tests exist in projects I've worked on (including my own solo stuff); I just don't always choose to spend the effort creating them.