Comment

Comment by Retric

That's mostly a beginners problem, I know several people where it's mostly:

  1. Write a lot of code
  2. Test it
  3. It works!
  4. Test it
  5. It works!
  6. Test it
  7. It works!
  ...
  15. Test it
  16. It works!
  17. Are you done?
TDD in no way makes 17 any clear, because every test they thought of before writing the code works more or less the first time. And that's the core problem with testing, for a solid developer what fails is has nothing to do with the code it's always a question of edge cases they did not think. (Wait, some sales people are their own managers and outside consultants at the same time? well just bob) You can force these people to write tests, but it really does just slow them down.
parent Retric 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton