 |
Test Driven Development: By Example by Kent Beck
Book Summary InformationAuthor: Kent Beck Edition: Paperback Audio: English (Unknown); English (Original Language); English (Published) Published: 2002-11-18 ISBN: 0321146530 Number of pages: 240 Publisher: Addison-Wesley Professional
Book Reviews of Test Driven Development: By ExampleBook Review: Good Theory -- But Odd Decisions In Writing Summary: 4 Stars
Overall, this was a great read. I love books with tiny chapters, giving you good stopping points where you can meditate on what you just read while you're busy with life's other challenges. Beck goes into TDD as well as design concepts such as you might find in Scott Bain's Emergent Design book. Patterns are also lightly discussed.
I also love Kent Beck's casual writing style. For those of us who don't have 16 hours a day to devote to our computer, it's nice to have some humor and casual speaking happening in a book which only a hardcore reader will read -- like myself.
I give the book 4 stars, but there are a few *glaring* question marks.
First, there is no introductory chapter on using JUnit or any other *Unit.
Kent wouldn't have even had to write such a chapter himself - maybe one of the tech reviewers! You have to give the reader something to go on, even if you just merely assume the reader will use JUnit in a CLI dev environment. Or discuss all the assert calls. I dunno. Weird. But not a huge deal, and I knew how it worked already, anyway.
Second, and this is a biggie, why on Earth Kent would choose as an example writing xUnit for the second section is so beyond me I have no words. He hints later that he likes to write a *Unit library for each new language he learns, as an exercise. But, good lord, it's so hard to wrap your brain around incestuous "writing yourself" concept -- couldn't he just written something else? We're trying to learn TDD here. Geez. I mostly skimmed the whole section as it was too hard to follow.
Third, in that same section, Kent decides he will move away from Java, a language most of us already know and, if not, looks like a whole host of other languages so it's easy to follow and fairly verbose. Right, he decides to use -- ready? -- PYTHON! A language very few people know and has some strange idioms. This would be akin to writing the chapter using arcane Ruby or Perl structures. The whole second section has you trying to catch up on the language and the recursive xUnit example so much that it completely distracts from the TDD lessons.
OK, here's a fourth. Two very good examples for TDD are practically side notes. I used his late-book example of a Triangle class to do TDD for real for the first time and it was an excellent example! I did it all and only when I completed it did I read his tests. It was great, and I look forward to trying out the Fibonacci Sequence which is an *appendix*.
Why not put these in the book and explain them?
But it's still a good read. Try to avoid buying it for $40 - $50 though. I read it in 2 days without much effort, so not sure it's worth the price. But it's still very good despite all this.
Summary of Test Driven Development: By ExampleQuite simply, test-driven development is meant to eliminate fear in application development. While some fear is healthy (often viewed as a conscience that tells programmers to "be careful!"), the author believes that byproducts of fear include tentative, grumpy, and uncommunicative programmers who are unable to absorb constructive criticism. When programming teams buy into TDD, they immediately see positive results. They eliminate the fear involved in their jobs, and are better equipped to tackle the difficult challenges that face them. TDD eliminates tentative traits, it teaches programmers to communicate, and it encourages team members to seek out criticism However, even the author admits that grumpiness must be worked out individually! In short, the premise behind TDD is that code should be continually tested and refactored. Kent Beck teaches programmers by example, so they can painlessly and dramatically increase the quality of their work.
Software Development Books
|
 |
Advances in Computers, Volume 78: Improving the WebAcademic Press; Published: 2010-04-05; Hardcover; BookBest price: $164.50Price in other shops: $171.00
Advances in Computers, Volume 76: Social net working and the webAcademic Press; Published: 2009-06-25; Hardcover; BookBest price: $167.00Price in other shops: $171.00
Practical Model-Based Testing: A Tools Approachby Mark Utting, Bruno Legeard Morgan Kaufmann; Published: 2006-12-11; Hardcover; BookBest price: $53.99Price in other shops: $72.95
Fundamentals of Computing: C++ Edition: Abstraction, Data Structures, and Large Software Systems Vol 2: Instructor's Manual and Softwareby Allen B. Tucker, W. James Bradley, Robert D. Cupper, Richard D. Epstein, Charles E. Kelemen McGraw-Hill Inc.,US; Published: 1994-04-01; Paperback; Book
DB2 Universal Database Call-Level Interface (Cli) Developer's Guide: Call Level Interface Cli Developer's Guide (Data Management Series)by Roger E. Sanders, Rober E. Sanders Mcgraw-Hill (Tx); Published: 1999-04; Paperback; BookBest price: $52.44Price in other shops: $64.95
MCTS Windows Server 2008 Active Directory Configuration Study Guide: Exam 70-640by William Panek, James Chellis Sybex; Published: 2008-05-12; Paperback; BookBest price: $15.74Price in other shops: $49.99
Agile Software Developmentby Alistair Cockburn Addison-Wesley Professional; Published: 2001-10-22; Paperback; BookBest price: $45.97
Test Process Improvement: A step-by-step guide to structured testingby Tim Koomen, Martin Pol Addison-Wesley Professional; Published: 1999-06-07; Hardcover; BookBest price: $38.99Price in other shops: $54.99
The Mythical Man-Month: Essays on Software Engineeringby Frederick Phillips Brooks Addison-Wesley; Published: 1975-01; Paperback; BookBest price: $5.97Price in other shops: $24.75
A Practical Guide to Distributed Scrumby Elizabeth Woodward, Steffan Surdek, Matthew Ganis IBM Press; Published: 2010-07-01; Paperback; BookBest price: $26.58Price in other shops: $44.99
|
Succeeding with Agile: Software Development Using Scrumby Mike Cohn Addison-Wesley Professional; Published: 2009-11-05; Paperback; BookBest price: $33.57Price in other shops: $49.99
User Stories Applied: For Agile Software Developmentby Mike Cohn Addison-Wesley Professional; Published: 2004-03-11; Paperback; BookBest price: $34.96Price in other shops: $54.99
Extreme Programming Explained: Embrace Change (2nd Edition)by Kent Beck, Cynthia Andres Addison-Wesley Professional; Published: 2004-11-26; Paperback; BookBest price: $30.68Price in other shops: $44.99
Growing Object-Oriented Software, Guided by Testsby Steve Freeman, Nat Pryce Addison-Wesley Professional; Published: 2009-10-22; Paperback; BookBest price: $31.76Price in other shops: $49.99
Design Patterns: Elements of Reusable Object-Oriented Softwareby Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides Addison-Wesley Professional; Published: 1994-11-10; Hardcover; BookBest price: $35.45Price in other shops: $59.99
The Pragmatic Programmer: From Journeyman to Masterby Andrew Hunt, David Thomas Addison-Wesley Professional; Published: 1999-10-30; Paperback; BookBest price: $35.60Price in other shops: $49.99
Working Effectively with Legacy Codeby Michael Feathers Prentice Hall; Published: 2004-10-02; Paperback; BookBest price: $38.33Price in other shops: $59.99
Refactoring: Improving the Design of Existing Codeby Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts Addison-Wesley Professional; Published: 1999-07-08; Hardcover; BookBest price: $25.00Price in other shops: $64.99
Clean Code: A Handbook of Agile Software Craftsmanshipby Robert C. Martin Prentice Hall; Published: 2008-08-11; Paperback; BookBest price: $32.89Price in other shops: $49.99
The Art of Unit Testing: With Examples in .Netby Roy Osherove Manning Publications; Published: 2009-07-05; Paperback; BookBest price: $21.99Price in other shops: $39.99
|