Rewiring Your Brain - Boost Productivity with Test Driven Thinking in C++
summary
Argues that test-driven thinking saves time, sharpens focus and can be fun by using psychology (habit loops, dopamine triggers, externalizing thought) plus practical C++ TDD with Catch2 to implement a left pad in C++. Implements the feature in five tests, catches a mistaken string-constructor argument, refactors to simpler code, and claims strict TDD yields near-100% line coverage while producing faster, less rework-prone development via the red→green→refactor cycle.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 3:03Why write tests
- 10:29Benefits of test driven development
- 12:33Brain as association machine
- 14:43TDD cycle
- 21:27Live coding left pad
- 37:45Habits with TDD
- 45:21Dopamine and productivity
- 51:00Externalizing brain with TDD
- 57:22TDD speeds up dev
- 1:00:37Conclusion
related talks
01h 03mRewiring your brain with test driven thinking in C++
01h 00mC++ Test-driven Development
53mHow to fall in love with TDD
01h 22mTest-Driven Development of C++ Embedded and System-Level Software
38mDeliver Better Code Faster With TDD
01h 01mBack to Basics: Test-driven Development
28mTDD for Absolute Beginners
46mHow to fall in love with TDD
