3 ms·
No. Every time I try, I quickly fall out of the habit. I do write high-level first and then implement code after establishing API/what I need these days (I end
by soylentgraham 7y ago
No.
Every time I try, I quickly fall out of the habit.
I do write high-level first and then implement code after establishing API/what I need these days (I end up re-writing that a few times) which seems ideal for TDD but just doesn't seem to work that way.
What I do do is add a unit test for (almost) every formal bug I come across, (to prove the bug, and fix it) so that but never happens again. Which over the years seems to have given the best results for backwards compatibility, stability etc