Re:Test-Driven Development is Stupid
by Scarblac on Tuesday November 24, 2015 @08:55AM
(#10620670)
They are also a word of encouragement to whoever sees your code for the first time because he needs to make a change in it, five years from now.
"Look, this code looks strange to you, you would have done it differently, and you are afraid you might break things you don't even know exist. But fear not, there are tests, they run, and they will guide you."
It's always relieve to find that some random old crap is actually well tested.
Re:Test-Driven Development is Stupid
by Freak_NL on Tuesday November 24, 2015 @09:19AM
(#10620787)
Not just to someone else. Nothing is more pleasant than going in to refactor code you wrote years ago, and find that you wrote comprehensive unit tests. Thank you past-me!
"Look, this code looks strange to you, you would have done it differently, and you are afraid you might break things you don't even know exist. But fear not, there are tests, they run, and they will guide you."
It's always relieve to find that some random old crap is actually well tested.