Skip to content
Poignant Guide Ruby Q&A

Is Why's (Poignant) Guide to Ruby still worth reading, and what has changed since 2005?

Staff answerWritten by Odile Marchetti · Reading the Poignant Guide0 replies

Short answer

Yes, read it for the stories, the humor and the feeling that a beginner is allowed to play, and keep a current Ruby and the official reference open beside it. The language underneath is recognizably the same. A few details have moved since the guide was written, and the table below lists the ones most likely to trip you.

Written by Odile Marchetti · Staff: Ruby basics, objects and the Poignant Guide ·
CitePoignant Guide Ruby Q&A, "Is Why's (Poignant) Guide to Ruby still worth reading, and what has changed since 2005?", https://poignantguide.net/answers/read/is-whys-poignant-guide-to-ruby-still-worth-reading-and-what-has/, accessed 2026-11-24.
  1. Staff: Ruby basics, objects and the Poignant Guide ·

    What the guide is, and what it is not

    Why's (Poignant) Guide to Ruby was written by _why the lucky stiff. The page about him on this site says he was a programmer, writer, musician and artist active in the Ruby community from about 2003 to 2009, and that one chapter of the guide was reprinted in the 2005 anthology The Best Software Writing I. That is where the "since 2005" in your question comes from.

    It is a book of ideas told as comic strips and short stories. It is not a reference manual and it does not track new Ruby releases. The official Ruby documentation page files it under "Older Reading / Resources", the links that "haven't been updated in ages", and in the same entry calls it a classic that teaches Ruby "through stories, wit, and comics". Both statements are true together: the book is old, and it is still worth your evening.

    A quick test you can run

    Type this into irb on any current Ruby:

    animals = ['fox', 'dog', 'cat']
    animals.map { |a| a.upcase }
    # => ["FOX", "DOG", "CAT"]
    blix = { name: 'Trady Blix', age: 9 }
    blix[:name]
    # => "Trady Blix"
    

    Arrays, hashes, blocks and symbols behave the way the guide teaches them. The core of the language that chapters 3 and 4 introduce is stable. What changed is mostly around the edges.

    What has changed

    Area Then Now (Ruby 3.3 and later)
    Keyword arguments A trailing hash and keywords were interchangeable Fully separated in Ruby 3.0. Passing {age: 10} to a method that takes **options raises ArgumentError; write age: 10 or **hash
    Hash shortcuts You always wrote both sides: {x: x, y: y} Ruby 3.1 lets you write {x:, y:} when a variable has the same name
    Short block arguments Every block named its parameter _1 arrived in 2.7 and it in 3.4, so [1, 2, 3].map { it * 100 } works
    Value objects Use Struct Data.define(:x, :y) makes immutable value objects (Ruby 3.2)
    IRB prompt irb(main):001:0> irb(main):001> in the 3.3 documentation
    Official reference Older manuals The documentation page now links the Ruby 4.0 reference manual

    Each row comes from the Ruby 3.0 changelog, the Ruby Evolution overview and the 3.3 notes at rubyreferences. Checked on 12 November 2026.

    A concrete example of the keyword change, which the 3.0 notes show:

    def new_style(name, **options)
      "#{name}: #{options}"
    end
    
    new_style('John', age: 10)       # works
    h = { age: 10 }
    new_style('John', **h)           # works, the ** is required
    # new_style('John', h)           # ArgumentError in Ruby 3.0 and later
    

    Mistakes beginners make

    1. Treating the guide as the manual. When a method name from the book does not exist, search the current docs at docs.ruby-lang.org instead of assuming you mistyped it.
    2. Pasting instead of typing. Typing slowly in irb is how the fox examples stick. Pasting skips the part where your fingers learn the syntax.
    3. Quitting when a detail fails. An example that errors is a chance to learn how to read the error, not a sign the book is useless.

    Check this in order

    1. Run ruby -v and make sure you have a current Ruby. The thread How do I install Ruby on a Mac with Homebrew and rbenv? covers the Mac setup.
    2. Open irb. Expansion Pak 1 in the guide explains how.
    3. Read one chapter and type each example by hand.
    4. When something errors, copy the exact message and search the Ruby docs for the method.
    5. Still stuck? Post the code, the message and your ruby -v here.

    For what to do once the guide is finished, its last chapter points to the official documentation and the Rails guides. Our thread on irb and binding.irb is a good companion for the typing-and-poking habit the book encourages, and what a block is covers the idea chapter 3 calls the soul of Ruby.

    1
    ReplyLink

Plain text or simple Markdown. Links are nofollow. Your email is never shown.

Poignant Guide Ruby Q&A. Questions and answers on learning Ruby and programming: syntax, blocks, objects, gems, Rails, debugging and reading the Poignant Guide.