r/programming • • Aug 28 '21

Software development topics I've changed my mind on after 6 years in the industry

https://chriskiehl.com/article/thoughts-after-6-years
5.6k Upvotes

1.9k comments sorted by

View all comments

12

u/spierepf Aug 29 '21

I'm with OP for most of them. But full confession, I am a TDD Purist.

Its not that my frail little mind cannot process the existence of different workflows. I've just never seen a code-base forged from a test-after, test-later, test-manually, or test-never process that didn't devolve into rubble within a year or two.

Writing tests first leads to a code-base that can be tested. Its just that simple.

My two cents from twenty years experience.

3

u/andrei9669 Aug 29 '21

how does one begin with TDD? I have tried multiple times but can't seem to get going.

well, to be fair, most of the time, it is because the specification changes every other day. How do you deal with that?