As an award-winning mathematician, I don’t tolerate mediocrity. That’s what mathematics taught me—never stop until you get it done, and not just in a good way but in the best way.

When I started writing software, I found that the same principles apply. I knew some colleagues who were neglectful of their work, and I saw how their results suffered from that. They were impatient to finish their tasks, not worrying about the quality of the software they produced, let alone searching for the best possible solution. For those guys, reusing the same code meant simply copying and pasting it everywhere they needed it. I saw how being impatient to finish the task as quickly as possible led to that same task being reopened again and again, because ...

Get JUnit in Action, Second Edition 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.