Chapter 2. Beginning TDD
Experience is a hard teacher because she gives the test first, the lesson afterward.
Chinese proverb
Something big airports are generally very good at is using signs. No matter which airport I fly from, I never have to worry about not knowing which way to turn from a corner. Whenever I no longer know which way to walk, I look up and there it is: the sign that says, “Gate 42: continue straight forward.”
It wasn’t like that when I started writing software for a living. There was just one sign outside the terminal building saying, “Good luck.” Figuring out what I should change and ending up with a correct solution was a bit like trying to find your way to the right gate at Heathrow without the hundreds of signs and displays. ...
Get Test Driven now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.