DeepRead
Cover of 99 Bottles of OOP

About the book

The book walks through refactoring one small Ruby program, a version of the 99 Bottles of Beer song, from its first working version toward a well-designed object-oriented one. It covers how to find the right classes and data models for a problem, how to move logic into the right place, and how to manage dependencies between objects. Code should be shaped by small, test-guided steps rather than designed in one pass, and the author argues that the cost of a wrong abstraction exceeds the cost of some duplication. It presents polymorphism and duck typing as tools for letting objects vary independently, so that new behaviour can be added without editing existing conditionals. The central claim is that clear, changeable object design comes from recognising which concepts a program actually contains.

Written by Claude from what it knows of this book.

What Hacker News says 64% recommend · 0% critical

02.552016202020262021 peak · 3
This bookAverage book in Software design and clean code

In the commenters’ own words

What Open Library readers say 4.00 from 1 rating

  1. 50
  2. 41
  3. 30
  4. 20
  5. 10
  • 3 want to read
  • 0 reading
  • 1 have read

Only 1 rating: 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
2016
ISBN
9781944823078
Editions known
4 at Open Library
Open Library
OL31271867W

Computer ProgrammingDependency injectionObject-oriented programming (Computer science)Polymorphism (Computer science)Software refactoring

Explore in the mosaic

Read next: its neighbours on the mosaic