skip to content
BooksReddit

Book · 2002

Test-Driven Development: By Example

by Kent Beck

Kent Beck writes a failing test, makes it pass, then refactors — and shows you the keystrokes, not the theory.

7
Total mentions
6
Unique Reddit accounts
case-insensitively deduplicated across the selected corpus
+0.38
Avg sentiment
scored published excerpts: −1 pan ↔ +1 praise
3
Subreddits
where it's mentioned

What does Reddit think of Test-Driven Development: By Example?

r/cscareerquestions owns seven of those mentions and sets the tone: the book appears on community-assembled reading lists alongside Clean Code, DDIA, and Domain-Driven Design, nominated by name and rarely argued about. The ↑498 thread is a call to build a community resource; Beck's book is one item on a long list. Nobody is fighting for it or against it. r/ExperiencedDevs slots it onto a four-book practical shelf. r/learnprogramming is where the one substantive argument for the book actually lives. A commenter at ↑12 makes the case that's worth quoting: writing tests first forces you to write implementation that's easy to test, and code that's easy to test turns out to be easy to extend. That's the book's real claim, stated by a redditor instead of Beck. Everything else in the dataset is a list entry. The r/cscareerquestions ↑15 mention is a one-line link to the Amazon page — someone asking a new hire to read up on TDD. That's about where Reddit's enthusiasm lands.

Community feedback & reader fit

Themes

  • · Test-first as a design discipline, not just a testing technique
  • · The red-green-refactor cycle demonstrated at keystroke level
  • · Standard entry on software craftsmanship reading lists alongside Clean Code and DDIA
  • · Testable code as a proxy for extensible code
  • · Quiet canonical status — cited to settle arguments, not start them

Common praise

  • + The r/learnprogramming commenter (↑12) makes the case that TDD improves code design, not just test coverage.
  • + Shows up on multiple independent r/cscareerquestions reading lists without anyone having to advocate for it.
  • + Beck's approach makes the loop concrete — new hires get pointed to it by name when TDD comes up.

Common criticism

  • − Seven of eleven mentions are list cameos with no commentary; Reddit knows the book exists but doesn't finish it with opinions.
  • − Most recent r/learnprogramming appearance is 2023; the dataset is thinning, not growing.

Who it's for

You've heard 'write tests first' and still don't know what that looks like in practice for the first ten minutes. This is the book. The r/learnprogramming data puts it best: testable code and extensible code turn out to be the same thing, and TDD is how you end up writing both. If you're already running a tight test-first loop, the demonstrations won't surprise you. Coming from Clean Code and finding the tone preachy? Beck keeps it concrete. The r/ExperiencedDevs shelf groups it with DDIA and Refactoring — a reasonable pairing order.

Mentions over time

Q3 2019 peak: 3/qtr Q2 2023

Top subreddits

Which Reddit comments matter for Test-Driven Development: By Example?

Top-upvoted quotes across the subreddits where this book is mentioned. Click through to read the full thread.

We should really just put together a community reading/listening list... Reading: * Clean Code / Clean Architecture / […

r/cscareerquestions ↑ 498 Not scored

I assume you mean programming books? Here's a list of books I plan to read eventually to try to get better myself: Designing Data Intensive Architectures Algorithm Design Manual by Skiena Domain Driven Design Design Patterns in C# by Steve Metsker

r/ExperiencedDevs ↑ 55 Not scored

Much of this stuff is learnable outside of work, too, at least at a superficially-passable level. Trust me. Pick up a few seminal books and read them with vigor. That's all you need to do. Here are some books I can personally recommend from my library: **Software Design** * [A Philosophy of Soft…

r/cscareerquestions ↑ 26 positive

Have them read up on Test Driven Development?

r/cscareerquestions ↑ 15 positive

I have a CS Degree and I'm s*** at maths, you only need high level maths in compsci if your going into data science/robotics/instruments and embedded systems (like sensors, microcontrollers and such) other than that just knowing basic computing algos would serve you better and a fundamental idea of …

r/learnprogramming ↑ 12 mixed

Yes. TDD is the way. When you write the test first, you will write the implementation in a way, that’s easy to test. That makes writing unit tests less tedious. The great thing is, that code that’s easy to test is easy to extend as well. By doing TDD, you will improve the design of your code as well…

r/learnprogramming ↑ 12 positive

Readers also mention

Books that share discussion threads with Test-Driven Development: By Example — counted from the comments, not curated.

Test-Driven Development: By Example — frequently asked

What does Reddit actually think of Test-Driven Development: By Example?+

Quiet respect. It lives on reading lists, not in arguments. The strongest endorsement in the dataset is a ↑12 r/learnprogramming comment explaining that TDD shapes code that's easy to extend — a real point, but one comment. The book is never attacked. It's also rarely evangelized.

Is Test-Driven Development: By Example worth reading if I already write unit tests?+

Depends on when you write them. The r/learnprogramming data makes the distinction: TDD is about writing tests before implementation, which forces a different design. If your tests come after and feel painful to write, that's exactly what Beck addresses. If you already write tests first and find them easy, you may already be doing what the book teaches. The r/cscareerquestions crowd recommends it to new hires specifically for the discipline, not the testing mechanics.

Where does Test-Driven Development: By Example fit in a programming reading order?+

After you've shipped something and felt the pain. r/cscareerquestions places it alongside Clean Code, Clean Architecture, Domain-Driven Design, and DDIA on community reading lists — that's the full craftsmanship stack. r/ExperiencedDevs groups it with DDIA and Refactoring as practical books. Most readers seem to arrive at Beck after Clean Code, not before. The examples make most sense once you've maintained code you didn't write.

Is Test-Driven Development: By Example still relevant in 2026?+

Yes. Last Reddit appearance is r/learnprogramming in 2023, and the r/cscareerquestions reading lists assembling it alongside DDIA treat it as current. The Java examples are dated; the red-green-refactor loop is not. Eleven mentions across seven years is modest for a book this old, but the book isn't getting argued against — it's getting inherited. That's a different kind of staying power.