DeepRead
Cover of Practical Object Oriented Design In Ruby

Practical Object Oriented Design In Ruby

Sandi Metz · 2012

Programming and computer science › Ruby and Rails

#660 most recommended

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

0102020122015202020252015 peak · 12
This bookAverage book in Ruby and Rails

In the commenters’ own words

What Open Library readers say 4.00 from 7 ratings

  1. 52
  2. 44
  3. 30
  4. 21
  5. 10
  • 8 want to read
  • 1 reading
  • 9 have read

Only 7 ratings: treat the average as a hint.

Open Library’s page for the book

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

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)

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Practical Object-Oriented Design
    Sandi Metz · 2018 · recommended by 14 people · 5 people recommended both
  • Smalltalk best practice patterns
    Kent Beck · 1997 · recommended by 17 people · 3 people recommended both
  • Agile web development with rails
    Dave Thomas · 2006 · recommended by 67 people · 3 people recommended both
  • 99 Bottles of OOP
    Sandi Metz · 2016 · recommended by 9 people · named together in 2 comments
  • Design Patterns in Ruby
    Russ Olsen · 2007 · recommended by 15 people · similar by subject and what people say about it
  • Metaprogramming Ruby
    Paolo Perrotta · 2010 · recommended by 33 people · 3 people recommended both
  • Design Patterns
    Erich Gamma · 1994 · recommended by 95 people · 2 people recommended both
  • Eloquent Ruby
    Russ Olsen · 2011 · recommended by 44 people · 2 people recommended both
  • Ruby cookbook
    Lucas Carlson · 2006 · recommended by 1 person · similar by subject and what people say about it
  • Beginning Ruby
    Peter Cooper · 2009 · recommended by 18 people · similar by subject and what people say about it
  • The well-grounded Rubyist
    David A. Black · 2009 · recommended by 31 people · similar by subject and what people say about it
  • Clean Code
    Robert C. Martin · 2008 · recommended by 298 people · 4 people recommended both
  • The Rails way
    Obie Fernandez · 2008 · recommended by 22 people · similar by subject and what people say about it
  • Code Complete
    Steve McConnell · 1993 · recommended by 393 people · 2 people recommended both
  • Refactoring
    Martin Fowler · 1999 · recommended by 94 people · similar by subject and what people say about it
  • Domain-Driven Design
    Eric Evans · 2003 · recommended by 104 people · similar by subject and what people say about it
  • A Philosophy of Software Design
    John K. Ousterhout · 2018 · recommended by 163 people · similar by subject and what people say about it
  • Head First design patterns
    Eric Freeman · 2004 · recommended by 65 people · similar by subject and what people say about it
  • The art of the metaobject protocol
    Gregor Kiczales · 1991 · recommended by 38 people · similar by subject and what people say about it
  • The Ruby programming language
    David Flanagan · 2007 · recommended by 14 people · similar by subject and what people say about it
  • Learn to Program
    Chris Pine · 2009 · recommended by 33 people · similar by subject and what people say about it
  • Object thinking
    West, David · 2004 · recommended by 12 people · similar by subject and what people say about it
  • Programming Ruby 1.9
    2010 · recommended by 11 people · similar by subject and what people say about it
  • Object-Oriented JavaScript
    Ved Antani · 2017 · recommended by 9 people · similar by subject and what people say about it