News for hackers. Stuff that matters.
Re:Is TDD Worth It? by mkolodny on Saturday September 28, 2013 @11:49AM (#6462066)
I was taught that you should solve the problem first, and then write the code. TDD doesn't change that; it forces you to at least define the problem before you take a stab at writing the code.

Of course, as you delve deeper into the problem, you often learn something that changes your understanding of the problem. That's where the third step of TDD comes in - refactor. TDD doesn't make people reluctant to refactor their code; it forces them to do it. Refactoring is a vital part of TDD.

Re:Is TDD Worth It? by seanmcdirmid on Saturday September 28, 2013 @12:28PM (#6462220)
> I was taught that you should solve the problem first, and then write the code

It is sad that in this day and age waterfall is still taught as a serious methodology.