DeepRead
Cover of Metaprogramming Ruby

Metaprogramming Ruby

Paolo Perrotta · 2010

Programming and computer science › Ruby and Rails

#1,062 most recommended

About the book

Metaprogramming Ruby covers how Ruby programs can inspect and change their own structure at runtime, with the object model as the foundation. It spans classes and modules, method lookup, singleton classes, blocks, and the techniques built on them, such as defining methods dynamically and writing domain-specific languages. Ruby's openness, where classes can be reopened and methods can be defined, intercepted, or generated during execution, makes metaprogramming a practical everyday tool rather than an arcane trick. The book's central claim is that using this power well depends on understanding the object model precisely, including how method lookup and self work. Once that model is clear, the common mechanisms of frameworks such as Rails become understandable and reproducible.

Written by Claude from what it knows of this book.

What Hacker News says 85% recommend · 3% critical

051020092015202020262010 peak · 8
This bookAverage book in Ruby and Rails

In the commenters’ own words

What Open Library readers say 4.25 from 4 ratings

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

Only 4 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
2010
ISBN
9781934356470
Editions known
2 at Open Library
Open Library
OL16011611W

Object-oriented programming (Computer science)Ruby (Computer program language)

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Crafting rails applications
    Jose Valim · 2011 · recommended by 8 people · 2 people recommended both
  • Design Patterns in Ruby
    Russ Olsen · 2007 · recommended by 15 people · 3 people recommended both
  • Programming Ruby 1.9
    2010 · recommended by 11 people · similar by subject and what people say about it
  • The art of Rails
    Edward Benson · 2008 · recommended by 4 people · similar by subject and what people say about it
  • Ruby under a microscope
    Pat Shaughnessy · 2014 · recommended by 32 people · 3 people recommended both
  • Eloquent Ruby
    Russ Olsen · 2011 · recommended by 44 people · 2 people recommended both
  • Ruby on Rails tutorial
    Michael Hartl · 2012 · recommended by 205 people · 3 people recommended both
  • The RSpec Book
    David Chelimsky · 2010 · recommended by 8 people · similar by subject and what people say about it
  • Eloquent Javascript
    Marijn Haverbeke · 2009 · recommended by 226 people · 3 people recommended both
  • Practical Object Oriented Design In Ruby
    Sandi Metz · 2012 · recommended by 46 people · 3 people recommended both
  • The Rails way
    Obie Fernandez · 2008 · recommended by 22 people · similar by subject and what people say about it
  • Coders at Work
    Peter Seibel · 2009 · recommended by 126 people · 3 people recommended both
  • Land of Lisp
    Conrad Barski · 2010 · recommended by 124 people · 2 people recommended both
  • The well-grounded Rubyist
    David A. Black · 2009 · recommended by 31 people · similar by subject and what people say about it
  • Realm of Racket
    Forrest Bice · 2013 · recommended by 37 people · similar by subject and what people say about it
  • Agile web development with rails
    Dave Thomas · 2006 · recommended by 67 people · similar by subject and what people say about it
  • Ruby Best Practices
    Gregory Brown · recommended by 8 people · similar by subject and what people say about it
  • The Pragmatic Programmer
    Andy Hunt · 1999 · recommended by 353 people · 2 people recommended both
  • Expert C programming!
    Peter Van der Linden · 1994 · recommended by 88 people · similar by subject and what people say about it
  • Practical Object-Oriented Design
    Sandi Metz · 2018 · recommended by 14 people · similar by subject and what people say about it
  • Growing object-oriented software
    Steve Freeman · 2009 · recommended by 16 people · similar by subject and what people say about it
  • Clean Code
    Robert C. Martin · 2008 · recommended by 298 people · 2 people recommended both
  • Higher-Order Perl
    Mark Jason Dominus · 2005 · recommended by 74 people · similar by subject and what people say about it
  • Programming Perl
    Larry Wall · 1991 · recommended by 90 people · similar by subject and what people say about it