• 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

software

“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

“Practical Object-Oriented Design in Ruby” by Sandi Metz

February 19, 2022 by Sonia Connolly Leave a Comment

book cover

Subtitle: An Agile Primer

Recommended to me by: Sam Livingston-Gray

I first read this back in 2012. It struck me as friendly rather than condescending this time, which is an interesting shift.

In 2012 I was just learning Ruby and focused on deciphering the example code as I read. Coming back to it after having programmed in Ruby for three years, I could read the examples fluently and focus more on the general points in the book, even though I haven’t looked at Ruby code in a while.

Some points that stuck with me this time:

  • The purpose of design is to allow future changes in code, since requirements and circumstances keep changing.
  • In object-oriented design, pay attention to the messages passing between the objects.
  • Each object should have a single responsibility. (I’ve seen a downside to this, where you have to chase through a mass of fine-grained objects to find where something is actually done.)
  • Manage dependencies to reduce risk. An object should depend on objects that change less often than it does.
  • Inject dependencies, use Ruby’s duck typing: Send in an object as an argument that responds to the needed message
  • Delay design decisions until you have at least three examples of what a class needs to do. (Two, if pressed.)
  • Good design is TRUE: Transparent, Reasonable, Usable, Exemplary
  • DRY: Don’t Repeat Yourself.
  • Law of Demeter: Don’t chain calls through many objects, since that entails knowing too much about the insides of other objects.
  • Isolate risky bits of code inside a wrapper, so they can be improved easily later.
  • Test an object’s public interface (messages it responds to), and command messages it sends (messages with side effects).
  • Use Ruby Modules to share code and tests.

Highly recommended as a guide for both general design, and how to write maintainable, flexible Ruby code.

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

Available at bookshop.org.

Filed Under: nonfiction Tagged With: software

“EPUB Straight to the Point” by Elizabeth Castro

January 3, 2017 by Sonia Connolly Leave a Comment

book cover

Subtitle: Creating ebooks for the Apple iPad and other ereaders

Recommended to me by: Finding it at the library

Creating an epub ebook from an InDesign print book file involves a whole lot of hidden settings and mysterious outcomes. I read a lot of blog posts, and this book was also helpful in getting the details squared away. It has step by step instructions for creating an epub ebook from Word and InDesign, and then further step by step instructions for editing the epub directly to refine the results. Since I learned HTML before CSS was a thing, and epub uses CSS, this was helpful to get oriented. It’s from 2011, but still useful.

It has some iPad-specific details, like a list of the fonts it supports and previews of each.

Available at bookshop.org in a newer edition.

Filed Under: nonfiction Tagged With: software, writing

“The Non-Designer’s InDesign Book” by Robin Williams

August 1, 2016 by Sonia Connolly Leave a Comment

book cover

Subtitle: Essential design techniques for print projects

Recommended to me by: Finding it at the library

I’m formatting my book with Adobe InDesign. While it does work to do a web search to find out how to do things like add more pages to the book, or move a title farther down the page, I decided I wanted more of an overview of the whole program and its features.

A friend suggested checking a book out of the library. This was perfect, because I could check out several books and see which one I liked, and since I have an older version of the program, older books were just right.

This book won because it is inviting, clear, direct, and brief. The design examples are varied and interesting (not all for sports and bars). Some of the examples are even from “Mothering Magazine”! While Robin doesn’t address book projects, the aesthetics and attention to detail in her examples fit in with how I work. Not only am I happy to support a woman author of a technical book, I feel more at home reading her book.

Highly recommended if you need to wrestle with InDesign CS5. I got her Photoshop book too, and I’m looking forward to reading that next, to work on the book cover and interior illustrations.

Available at biblio.com.

Filed Under: nonfiction Tagged With: software, writing

The Recompiler, issue 1, edited by Audrey Eschright

September 5, 2015 by Sonia Connolly Leave a Comment

Like many experienced women in tech, Audrey had enough of her latest job, and doubted that a better environment was available. So she quit and started a feminist hacker magazine!

Our goal is to help people learn about technology in a fun, playful way, and highlight a diverse range of backgrounds and experiences. We’re especially interested in infrastructure: the technical and social systems we depend on. We want to share what it’s like to learn and work with technology, and teach each other to build better systems and tools.

This is the first issue, available in print and online. There are technical articles on the vulnerabilities of DNS and SSL (building blocks of the Internet), a personal article about growing up female in a tech-loving household, a how-to on setting up activist websites, and a bonus article on how to teach git (an unintuitive but popular version-control program).

Recommended!

The Recompiler – featured articles

Filed Under: nonfiction Tagged With: feminism, software

“The Rails View” by John Athayde and Bruce Williams

November 29, 2014 by Sonia Connolly Leave a Comment

Subtitle: Create a Beautiful and Maintainable User Experience

Recommended to me by: Working with the authors

It took me two years to get around to reading this book, but fortunately (?) my project is on a version of Rails that’s three years old, so it’s a perfect time to read it.

This book is the next best thing to sitting down with Bruce and John to learn about Rails views. It’s organized as a tutorial with specific code examples. It would be beneficial to follow along and actually type in the code, although I didn’t do that.

The language is casual and friendly, with lots of tips, tricks, and best practices. There are some sexist (“marketing guys”) and ableist (“don’t get too insane”) phrases that detract from an otherwise great book.

Website.

Available at biblio.com.

Filed Under: nonfiction Tagged With: software

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Go to Next Page »

Primary Sidebar

Recent Books

  • “Very Far Away From Anywhere Else” by Ursula K Le Guin
  • “Seaward” by Susan Cooper
  • “Surviving Domestic Violence” by Elaine Weiss
  • “The Book of Love” by Kelly Link
  • “Alexandra’s Riddle” by Elisa Keyston
  • “Weaving Hope” by Celia Lake
  • “The Fortunate Fall” by Cameron Reed
  • “Remarkably Bright Creatures” by Shelby Van Pelt
  • “Childhood’s End” by Arthur C. Clarke
  • “If the Buddha Married” by Charlotte Kasl, Ph.D.

Tags

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

Categories

Archives

Please note: bookshop.org and Amazon links are affiliate links. Copyright © 2025 · Genesis Sample on · WordPress