
Growing object-oriented software, guided by tests
Steve Freeman · 2010
Programming and computer science › Testing and legacy code
#756 most recommended
Hacker News
64
mentions by 54 people · top 5% of 15,732 books
Open Library
4.25★★★★★★★★★★
4 ratings · 24 want to read
Wikipedia
—
No article yet
About the book
A practical guide to building object-oriented applications with test-driven development, taught through a larger worked example: an auction-bidding client that talks to an external auction service and is built up iteration by iteration. It covers the whole cycle from acceptance tests and unit tests to integrating with external systems and a user interface, and it assumes the reader already knows TDD basics. The central claim is that tests are a design tool as well as a safety net. When a test is hard to write, the difficulty usually points to a design problem, such as too many responsibilities or unclear dependencies, so the code should be shaped by listening to what the tests reveal. The authors argue for working from the outside in, starting with an end-to-end acceptance test that drives each feature, and using mock objects to discover the roles and interactions between objects rather than just classes and data. They also hold that a system grown incrementally, with a walking skeleton and continuous refactoring, ends up better than one designed entirely up front.
Written by Claude from what it knows of this book.
What Hacker News says 80% recommend · 4% critical
In the commenters’ own words
The first paragraph of the Wikipedia article on TDD is a correct definition. Write a minimal test; see it fail; make it pass with a minimal code change…
You never needed a framework until recently when you had to deal with the conceptually disjoint modern web and the pile of languages it takes to do anything…
What Open Library readers say 4.25 from 4 ratings
- 51
- 43
- 30
- 20
- 10
- 24 want to read
- 1 reading
- 5 have read
Only 4 ratings: treat the average as a hint.
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
- Ask HN: What are you reading right now?
- Ask HN: What language-agnostic programming books should I read?
- Ask HN: Best book you read in 2010 and briefly why
- Ask HN: What are the most fundamental books on computer science?
- Ask HN: What are some books where the reader learns by building projects?
- Ask HN: What books are you reading?
- Ask HN: Books that improved your career?
- Ask HN: What technical books are you reading?
Details
- First published
- 2010
- ISBN
- 9780321503626
- Editions known
- 2 at Open Library
- Open Library
- OL16955281W
Application software, developmentComputer softwareObject-oriented programming (Computer science)Testing
Read next: its neighbours on the mosaic
Domain-Driven DesignEric Evans · 2003 · recommended by 104 people · 7 people recommended both
Patterns of Enterprise Application ArchitectureMartin Fowler · 2002 · recommended by 34 people · 4 people recommended both
Working effectively with legacy codeMichael C. Feathers · 2004 · recommended by 186 people · 6 people recommended both
Clean CodeRobert C. Martin · 2008 · recommended by 298 people · 8 people recommended both
Agile Software Development, Principles, Patterns, and PracticesRobert C. Martin · 2002 · recommended by 7 people · 2 people recommended both
The clean coderRobert C. Martin · 2011 · recommended by 53 people · named together in 4 comments
Growing object-oriented softwareSteve Freeman · 2009 · recommended by 16 people · 2 people recommended both
Apprenticeship PatternsDave H. Hoover · 2009 · recommended by 16 people · 2 people recommended both
Extreme programming explainedKent Beck · 1999 · recommended by 23 people · 2 people recommended both
XUnit Test PatternsGerard Meszaros · 2007 · recommended by 5 people · similar by subject and what people say about it
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 4 people recommended both
Implementation patternsKent Beck · 2007 · recommended by 6 people · 2 people recommended both
The Pragmatic ProgrammerAndy Hunt · 1999 · recommended by 353 people · 2 people recommended both
Effective JavaJoshua Bloch · 2001 · recommended by 172 people · 2 people recommended both
Head First design patternsEric Freeman · 2004 · recommended by 65 people · similar by subject and what people say about it
The art of agile developmentJames Shore · 2007 · recommended by 13 people · similar by subject and what people say about it
Refactoring to PatternsJoshua Kerievsky · 2004 · recommended by 15 people · similar by subject and what people say about it
Practical Object-Oriented DesignSandi Metz · 2018 · recommended by 14 people · similar by subject and what people say about it
Clean ArchitectureRobert C. Martin · 2017 · recommended by 47 people · similar by subject and what people say about it
Exercises for ProgrammersBrian P. Hogan · 2015 · recommended by 6 people · similar by subject and what people say about it
Pragmatic Thinking and LearningAndy Hunt · 2008 · recommended by 46 people · similar by subject and what people say about it
A Philosophy of Software DesignJohn K. Ousterhout · 2018 · recommended by 163 people · similar by subject and what people say about it
Test-driven developmentKent Beck · 2002 · recommended by 30 people · similar by subject and what people say about it
Effective JavaScriptDavid Herman · 2012 · recommended by 20 people · similar by subject and what people say about it