Hacker News new | ask | show | jobs
by ericmoritz 5236 days ago
I get the same feeling now that I've adopted TDD. I've lost that magic of spending most of my time debugging code.

Now I just define the outcome I want, assert that a unwritten function produces that outcome and code the outcome. Sigh /s

1 comments

You forgot about interacting with third party code that you have no control over. Like when you develop any mobile app.
In this case you get the best of both worlds - if you mock the third-party API you can do TDD on all of your code, but you still get all the thrill and excitement of debugging when the API doesn't behave entirely as advertised!
They really are all crap. Run leaks - playhaven, tapjoy, flurry, etc are all guaranteed to be there. They dont even run static analyzer, which find some of these.
I was also talking about vendor libraries, like iOS UIKit and so on.