by stale2002 · 9y ago · 0 comments
Sure. If you actually do it.
The problem with most companies, and the reason why I think that TDD 'works' is that it forces you to right some tests, any tests at all.
Many people, if they don't write the test first, will just end up not making any tests at all.
One team adopted TDD and forced themselves to do it for a year. They admitted it slowed their overall dev-cycle down a ton, but they ended up learning a lot about how to build a well designed API. I think more internal documentation about good design emerged from that then them evangelizing TDD.