June 2019
Intermediate to advanced
192 pages
4h
English
Test-driven development (TDD) is sometimes defined as writing tests first. Although that’s an important part of the methodology, it’s not the essence. The essence of TDD is rapid iteration. You’ll find that you learn more quickly from iterating—writing small, easy-to-understand pieces of code one at a time—than you would from trying to plan out a complex program from the ground up. You’ll discover bad assumptions and potential pitfalls before you invest too much work. And you’ll find the process more enjoyable, a smooth incremental progression rather than an alternation between bursts of inspiration and plateaus of “What do I do next?”
Our project for this chapter will be a solver for the classic programming ...
Read now
Unlock full access