DeepRead
Cover of Ruby Best Practices

Ruby Best Practices

Gregory Brown

Programming and computer science › Ruby and Rails

#3,922 most recommended

About the book

Ruby Best Practices is a guide for developers who already know the basics of the Ruby language and want to write clean, idiomatic, maintainable code. It covers Ruby's core idioms, object-oriented design, testing, and the more advanced features such as blocks, metaprogramming, and domain-specific languages. Brown's central position is that Ruby's flexibility is valuable only when used with restraint, so that code stays readable and easy to change. He argues for small, well-defined objects and interfaces, for leaning on duck typing rather than rigid type checks, and for using metaprogramming and DSLs where they clarify intent rather than obscure it. Throughout, he treats testing and clear design as part of writing good Ruby, not as separate concerns.

Written by Claude from what it knows of this book.

What Hacker News says 80% recommend · 0% critical

051020102011201220132011 peak · 6
This bookAverage book in Ruby and Rails

In the commenters’ own words

What Open Library readers say

Open Library has no ratings or reading logs for this book yet.

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

Editions known
none recorded at Open Library

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Programming Ruby 1.9
    2010 · recommended by 11 people · 2 people recommended both
  • Everyday Scripting with Ruby
    Brian Marick · 2007 · recommended by 2 people · similar by subject and what people say about it
  • Crafting rails applications
    Jose Valim · 2011 · recommended by 8 people · similar by subject and what people say about it
  • The Ruby programming language
    David Flanagan · 2007 · recommended by 14 people · similar by subject and what people say about it
  • Metaprogramming Ruby
    Paolo Perrotta · 2010 · recommended by 33 people · similar by subject and what people say about it
  • Design Patterns in Ruby
    Russ Olsen · 2007 · recommended by 15 people · similar by subject and what people say about it
  • Ruby For Rails
    David A. Black · 2006 · recommended by 17 people · similar by subject and what people say about it
  • Programming Ruby
    Dave Thomas · 2004 · recommended by 6 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
  • Beginning Ruby
    Peter Cooper · 2009 · recommended by 18 people · similar by subject and what people say about it
  • Ruby under a microscope
    Pat Shaughnessy · 2014 · recommended by 32 people · similar by subject and what people say about it
  • Why's (Poignant) Guide to Ruby
    Why The Lucky Stiff · 2005 · recommended by 85 people · similar by subject and what people say about it
  • The well-grounded Rubyist
    David A. Black · 2009 · recommended by 31 people · similar by subject and what people say about it
  • The Ruby Way
    Hal Fulton · 2001 · recommended by 8 people · similar by subject and what people say about it
  • Rails recipes
    Chad Fowler · 2006 · recommended by 4 people · similar by subject and what people say about it
  • The RSpec Book
    David Chelimsky · 2010 · recommended by 8 people · similar by subject and what people say about it
  • Learn to Program
    Chris Pine · 2009 · recommended by 33 people · similar by subject and what people say about it
  • Ruby cookbook
    Lucas Carlson · 2006 · recommended by 1 person · similar by subject and what people say about it
  • Rails antipatterns
    Chad Pytel · 2009 · recommended by 6 people · similar by subject and what people say about it
  • The Rails way
    Obie Fernandez · 2008 · recommended by 22 people · similar by subject and what people say about it
  • Eloquent Ruby
    Russ Olsen · 2011 · recommended by 44 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
  • The art of Rails
    Edward Benson · 2008 · recommended by 4 people · similar by subject and what people say about it
  • HEAD FIRST RAILS
    David Griffiths · recommended by 2 people · similar by subject and what people say about it