TDD did not live up to expectations
blogs.msdn.microsoft.com
TDD did not live up to expectations
1–10 of 450 posts
Re: TDD did not live up to expectations
#2IMO, nothing really profound here.
Re: TDD did not live up to expectations
#3I use it on occasion as a good sanity check to make sure I didn't break anything too obvious, but this idea that TDD is a panacea where no bugs ever survive didn't ever make sense to me in the first place.
Re: TDD did not live up to expectations
#4* Faster development feedback loop by minimizing manual interactions with the system
* The tests are an executable to-do list that guides development, helping you stay focused and reminding you what the next step is
* Provides a record of the experimentation taken to accomplish a goal, which is especially useful when multiple developers collaborate on work-in-progress
Re: TDD did not live up to expectations
#5This is emblematic of that frustrating AutoFormat behavior that replaces double dashes with an emdash. Probably not a coincidence that this appears on MSDN -- perhaps it was drafted on Outlook or Office or some other tool w/this same AutoFormat.
This feature is responsible for countless miscommunications between colleagues à la "I copied and pasted your command just as you had it in the email"...
Re: TDD did not live up to expectations
#6tl;dr: TDD is not, on its own, effective. If code is highly coupled, tests become highly coupled and a nightmare. The author advocates that learning to properly refactor and create low-coupled code should be a first priority ahead of following TDD blindly. IMO, nothing really profound here.
I'm not saying these things are bad but they do have a cost.
Re: TDD did not live up to expectations
#7Sorry for the aside but I find it humorous that the headline that should read "TDD--, Refactoring++" instead shows "TDD—, Refactoring++". This is emblematic of that frustrating AutoFormat behavior that replaces double dashes with an emdash. Probably not a coincidence that this appears on MSDN -- perhaps it was drafted on Outlook or Office or some other tool w/this same AutoFormat. This feature is responsible for coun…
Re: TDD did not live up to expectations
#8I absolutely think _tests_ are useful, but have never found any advantages to test-DRIVEN-development (test-first).
But part of that is probably my style of problem solving. I consider it similar to sketching and doodling with code until a solution that "feels right" emerges. TDD severely slows that down, in my experience, with little benefit.
What I've found works really well is independently writing tests afterwards to really test your assumptions.
Re: TDD did not live up to expectations
#9Ravi has a nice summary: http://ravimohan.blogspot.se/2007/04/learning-from-sudoku-so...
Peter Norvig's old-fashioned approach is excellent counterbalance: http://norvig.com/sudoku.html