• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Curious, Healing

Curious, Healing

Books about healing, business, and fun

  • About Sonia Connolly

“99 Bottles of OOP” by Sandi Metz, Katrina Owen, and TJ Stankus

February 23, 2022 by Sonia Connolly Leave a Comment

book cover

Subtitle: A Practical Guide to Object-Oriented Design

Recommended to me by: Sam Livingston-Gray

This book creates and then refactors (edits to improve) code to generate the “99 Bottles of Beer” song. (When I was a kid on field trips, we started at 100 Bottles.)

I read most of this book in 2015, but didn’t finish it, so didn’t add a post for it here. Apparently the initial “Shameless Green” code (straightforward code that makes the tests succeed) stuck with me, because I mostly reproduced it in the half-hour recommended to attempt the problem before reading the rest of the book.

There are lots of great points about object-oriented design and recipes for refactoring. The Ruby code that results at the end is elegant and easy to modify, although its readability benefits from the step-by-step walkthrough to get there. I will probably refer back to the book for refactoring tips when faced with Ruby code to improve.

Recommended for people wanting to improve their object-oriented coding skills, especially in Ruby. There are now editions available with code examples in PHP and Javascript as well, and the beverage can be beer or milk. Now I’m curious to see their code that generates the different versions of the book!

The book’s page and Sandi Metz’s website.

Available at SandiMetz.com.

Filed Under: nonfiction Tagged With: software

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Books

  • “Orwell’s Roses” by Rebecca Solnit
  • “99 Bottles of OOP” by Sandi Metz, Katrina Owen, and TJ Stankus
  • “Practical Object-Oriented Design in Ruby” by Sandi Metz
  • “What Fresh Hell Is This?” by Heather Corinna
  • “Being In My Body” by Toni Rahman
  • “North to Freedom” by Anne Holm
  • “You Don’t Look Adopted” by Anne Heffron
  • “Witches of Brooklyn: What the Hex?!” by Sophie Escabasse
  • “The Magic Fish” by Trung Le Nguyen
  • “Set Boundaries, Find Peace” by Nedra Glover Tawwab

Tags

activism aging anti-racism bodywork business childhood abuse childrens communication disability domestic violence feminism finance Focusing food fun healing health at any size illustrated lgbt marketing memoir natural world neurodiversity politics psychology relationship science singing software spirituality survival story trauma writing young adult

Categories

Archives

Please note: Amazon and Powell's links are affiliate links. Copyright © 2022 · Genesis Sample on · WordPress