Hacker News new | ask | show | jobs
by kissgyorgy 2490 days ago
You can only solve a problem with TDD well if you know EXACTLY what do you want to implement before even starting with exact input-output.
1 comments

That's blatantly not true.

I use TDD to pick apart the problem bit by bit implementing the next (then unknown) step in a very piece meal fashion.

edit: also, what kind of gatekeeping is

"You can only solve a problem with TDD well if you know EXACTLY what do you want to implement".

The end result is the same: a set of covering tests & working code.

Kent Beck, Martin Fowler and David Heinemeier Hansson disagrees with you: https://martinfowler.com/articles/is-tdd-dead/
Wow slam dunk.

You really defeated my actual experience and proved your point on this one /s