News for hackers. Stuff that matters.
Re:I have complicated feelings about TDD by twic on Thursday August 18, 2022 @02:30PM (#32513213)
I've worked at three companies that did TDD rigorously. It absolutely does exist.
Re:I have complicated feelings about TDD by klysm on Friday August 19, 2022 @04:00AM (#32518518)
Was it worth it? In what languages?
Re:I have complicated feelings about TDD by twic on Friday August 19, 2022 @04:52AM (#32518795)
I thought it was great. I found that TDD forced me think through the functionality i was about to add before writing the code. Base cases, corner cases, what the API should look like, etc. Then good at making sure i actually did it properly. Reasonably useful for making sure nobody broke it later, but not cast-iron.

TDD sometimes doesn't feel as fast as just smashing out code, but i honestly think it produces good-quality code at a faster and more consistent rate.

It was almost all in Java, with a bit of JavaScript. Some people at one company did Ruby, and did TDD in that, but i never did.