
Practical Object Oriented Design In Ruby
Sandi Metz · 2012
Programming and computer science › Ruby and Rails
#660 most recommended
Hacker News
72
mentions by 62 people · top 5% of 15,732 books
Open Library
4.00★★★★★★★★★★
7 ratings · 8 want to read
Wikipedia
—
No article yet
About the book
Practical Object-Oriented Design in Ruby covers how to design object-oriented software in Ruby, from the basics of classes, messages, and interfaces through inheritance, composition, and duck typing. It works through concrete refactoring examples and aims at developers who are new to OO as well as those with working experience. The book's central claim is that good design is about managing the dependencies between objects so that a system can change without cascading breakage. It argues that objects should be understood by the messages they send and receive rather than by their internal state, and that inheritance and type checks should give way to composition and duck typing where possible. It also holds that testing and design are linked: code that is hard to test usually has design problems, and tests and mocks can expose those problems early.
Written by Claude from what it knows of this book.
What Hacker News says 74% recommend · 3% critical
In the commenters’ own words
Books for general audience are filled with light content. That's just the way things are nowadays. It is not going to change. Any self help, any book about…
My recommendations are not exactly what you ask but what I suspect you'll enjoy if you're asking this. (1) "Understanding Computation" by Tom Stuart. Not…
What Open Library readers say 4.00 from 7 ratings
- 52
- 44
- 30
- 21
- 10
- 8 want to read
- 1 reading
- 9 have read
Only 7 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: Which book are you reading these days?
- Ask HN: What language-agnostic programming books should I read?
- Ask HN: What are the most fundamental books on computer science?
- Ask HN: What's the best programming book you've read recently?
- Ask HN: What's the best computer science book you've read recently?
- Ask HN: What are some of the best written programming books?
- Ask HN: What books had the greatest effect on how you structure your code?
- Ask HN: Best books under 200 pages for developers?
Details
- First published
- 2012
- ISBN
- 9780321721334
- Editions known
- 2 at Open Library
- Open Library
- OL17424491W
Object-oriented programming (Computer science)Ruby (Computer program language)Ruby on rails (Electronic resource)
Read next: its neighbours on the mosaic
Practical Object-Oriented DesignSandi Metz · 2018 · recommended by 14 people · 5 people recommended both
Smalltalk best practice patternsKent Beck · 1997 · recommended by 17 people · 3 people recommended both
Agile web development with railsDave Thomas · 2006 · recommended by 67 people · 3 people recommended both
99 Bottles of OOPSandi Metz · 2016 · recommended by 9 people · named together in 2 comments
Design Patterns in RubyRuss Olsen · 2007 · recommended by 15 people · similar by subject and what people say about it
Metaprogramming RubyPaolo Perrotta · 2010 · recommended by 33 people · 3 people recommended both
Design PatternsErich Gamma · 1994 · recommended by 95 people · 2 people recommended both
Eloquent RubyRuss Olsen · 2011 · recommended by 44 people · 2 people recommended both
Ruby cookbookLucas Carlson · 2006 · recommended by 1 person · similar by subject and what people say about it
Beginning RubyPeter Cooper · 2009 · recommended by 18 people · similar by subject and what people say about it
The well-grounded RubyistDavid A. Black · 2009 · recommended by 31 people · similar by subject and what people say about it
Clean CodeRobert C. Martin · 2008 · recommended by 298 people · 4 people recommended both
The Rails wayObie Fernandez · 2008 · recommended by 22 people · similar by subject and what people say about it
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 2 people recommended both
RefactoringMartin Fowler · 1999 · recommended by 94 people · similar by subject and what people say about it
Domain-Driven DesignEric Evans · 2003 · recommended by 104 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
Head First design patternsEric Freeman · 2004 · recommended by 65 people · similar by subject and what people say about it
The art of the metaobject protocolGregor Kiczales · 1991 · recommended by 38 people · similar by subject and what people say about it
The Ruby programming languageDavid Flanagan · 2007 · recommended by 14 people · similar by subject and what people say about it
Learn to ProgramChris Pine · 2009 · recommended by 33 people · similar by subject and what people say about it
Object thinkingWest, David · 2004 · recommended by 12 people · similar by subject and what people say about it
Programming Ruby 1.92010 · recommended by 11 people · similar by subject and what people say about it
Object-Oriented JavaScriptVed Antani · 2017 · recommended by 9 people · similar by subject and what people say about it