• RRP: £27.99
  • You Save: £4.20 (15%)
FREE Delivery in the UK.
Only 5 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
The Well-Grounded Rubyist has been added to your Basket
Trade in your item
Get a £8.10
Gift Card.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

The Well-Grounded Rubyist Paperback – 4 Jul 2014

See all formats and editions Hide other formats and editions
Amazon Price New from Used from
"Please retry"
£15.34 £15.50
£23.79 FREE Delivery in the UK. Only 5 left in stock (more on the way). Dispatched from and sold by Amazon. Gift-wrap available.

Frequently Bought Together

The Well-Grounded Rubyist + Practical Object Oriented Design in Ruby: An Agile Primer (Addison-Wesley Professional Ruby) + Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide (The Facets of Ruby)
Price For All Three: £66.58

Buy the selected items together

Trade In this Item for up to £8.10
Trade in The Well-Grounded Rubyist for an Amazon Gift Card of up to £8.10, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Product details

  • Paperback: 536 pages
  • Publisher: Manning Publications; 2 edition (4 July 2014)
  • Language: English
  • ISBN-10: 1617291692
  • ISBN-13: 978-1617291692
  • Product Dimensions: 3.2 x 19 x 23.5 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 124,876 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

David A. Black is an internationally-known Ruby developer, author, trainer, speaker, and event organizer. A Lead Developer at Cyrus Innovation, he is a Ruby standard library contributor and one of the founders of Ruby Central, Inc., the parent organization of the official international Ruby and Ruby on Rails conferences.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

5.0 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See the customer review
Share your thoughts with other customers

Most Helpful Customer Reviews

Format: Paperback
Excellent book, starting at what I would call and intermediate level it took what I knew and refined and expanded my knowledge. Would work very well for beginners as well.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 23 reviews
6 of 6 people found the following review helpful
It covers pretty well the Ruby language and shows deeply a lot ... 8 Aug. 2014
By Jean Lazarou - Published on Amazon.com
Format: Paperback
I reviewed the book (courtesy of Manning). As a Ruby developer I found this book very accurate and serious. It covers pretty well the Ruby language and shows deeply a lot of aspects. As Ruby and the standard library is quite a big subject, the book cannot cover everything but the author was able to select the part of the standard library that is fundamental and that is not going to disappear in next Ruby releases (for instance the "curses" library was removed and is available as a gem as from Ruby 2.1).

The intended audience is definitely programmers knowing object oriented programming who either want to refresh their Ruby knowledge, either want to learn the language as a new language. But as the book states, it does not teach programming. But we feel that the author really wants to be precise and comprehensive, he struggles with the need to explain things that some people might not know, while many people already know...

For Ruby programmers the book is useful as a reference for parts of the language he/she does not use on a daily basis.

The book covers the regular expressions and can be useful for the use of regexp beyond its usage with the Ruby language.

But the book has some weaknesses.

The chapter 6 is not precise enough about exceptions, "can i catch more than 1 exception?", "what if I write rescue A, then B, if B derives from A, is B ever going to be catched?".

In chapter 7, the "Bid" example presents the <=> operator (object comparison) but is not clear enough that comparing objects does not necessarily involve the class relationship but is "duck-typing" (the nature of the Ruby language).

The book is wrong about the $n "global variables", they are not behaving at all as global variables (the book mentions the strangeness when talking about threads but it is much more subtle), if you run next code you can see that the $1 value is not set when entering the "show_1" method and even if $1 changes inside the method, the original value is still available at the calling point.

def show_1
p $1
"bye" =~ /(bye)/
p $1

"hello" =~ /(ll)/

p $1 #=> "ll"
show_1 #=> nil
#=> "bye"
p $1 #=> "ll"

In chapter 14, a little error appears in the explanation about the system calls, the text says: "A call to a nonexistent method with backticks raises a fatal error". It should be "program" instead of "method".

As you see I set 4 stars despite the "negative" comments because I did not mention many weak points compared to the book size and I consider that the book is worth reading compared to many poor quality books we find today.
5 of 5 people found the following review helpful
A very good book for learning object-oriented Ruby 11 Aug. 2014
By Si Dunn - Published on Amazon.com
Format: Paperback
David A. Black's well-written text does not try to be a “complete” language reference. Instead, reading The Well-Grounded Rubyist is like having a well-experienced and patient mentor close at hand–a mentor who willingly offers up clear examples and explanations. If you are a Ruby beginner, you likely will want to keep this book around as a go-to how-to reference long after you have learned and begun to work with Ruby.

Ruby can be used in several different programming paradigms, including functional and imperative. But be advised: The Well-Grounded Rubyist is essentially all-object-oriented-all-the-time in its approach.

“Ruby is an object-oriented language, and the sooner you dive into how Ruby handles objects, the better,” the author states. “Accordingly, objects will serve both as a way to bootstrap the discussion of the language (and your knowledge of it) and as a golden thread leading us to further topics and techniques.”

As other reviewers have noted, it is helpful to have at least a little bit of programming experience before tackling this book. And the Code Academy's Ruby classes and some other online tutorials are good places to start (that's exactly how I began learning Ruby a couple of years ago). But Black's book does start the reader with simple math at the interactive Ruby console program, irb, and then writing, saving, and running a simple program at the "Hello, Fahrenheit" level before moving ahead.

My thanks to Manning for providing a review copy of this book.
3 of 3 people found the following review helpful
Great book, clear, deep and useful 10 Aug. 2014
By Edoardo Tenani - Published on Amazon.com
Format: Paperback
Disclaimer: Manning.com sent me a copy of the book to review, with no string attached.

I'm a Ruby developer, and I've found this book useful. Is not a book about programming, is a book about Ruby, and the author was able to catch quite every aspect of the language explaining its operation in a clear and meaningful way.

Seasoned developers probably will use this book as a reference more than for learning.
Newcomers to the language reading this book can really have a boost in understanding both the basics ( part 1 ), the most used classes of the Ruby StdLib ( part 2 ) and the more advanced dynamic features in the part 3.

Overall is a great book, clear, deep and useful. It has some quirks, but you can overcome that with a little of personal research.
3 of 3 people found the following review helpful
This is a good book for brushing up on your Ruby concepts 6 Aug. 2014
By Nitin Gode - Published on Amazon.com
Format: Paperback
This is a good book for brushing up on your Ruby concepts. It is very well written and has quite detailed explanations.
Part one of the book goes into fantastic detail about classes and modules. Even though I have been using Ruby for about 2 years, I was able to learn quite a bit from this part. The other exciting part of this book is the third part, dealing with procs, lambdas, callbacks and hooks.
For people learning Ruby, I would recommend this book, followed by the Pickaxe book, as it goes into much more detail
2 of 2 people found the following review helpful
Wonderful Ruby book! 16 Sept. 2014
By Luca Campobasso - Published on Amazon.com
Format: Paperback
First, a brief introduction: I’m a freelance developer, and I’ve worked several times with Ruby.
As I have started to read, I have to say that I was fascinated by the style of writing. The writer composes expressions very well and is able to hold your attention. Even having used it some hundreds of hours and went through the documentation few times, already since the first pages I can find some arguments and concepts that before were absolutely obscure to me. Keeping a practical framework, it densely packs the theory that every rubyist should know, comprehensive of conventions and suggestions on how to use its features. Maybe it falls sometimes on excessive exposure - like the info about the configuration at the beginning, that may be liked or not, depending on the reader.

It starts with fundamentals and syntax, going on with the built-in features, and finishing with the special Ruby OOP features, more advanced concepts. Although it may seem only for beginners, an intermediate can find _many_ useful things, especially if you didn’t still have attendended a complete course on the features of the language (those things that you were supposed to know but you always find as new on StackOverflow..). It will change your mindset about how this language should be used.

The style of writing is very near to the voice of a cautious grandfather who advises you on what to do or not. If you want to get better in Ruby and get some solid foundations of the language It will deepen also your understanding of the language, its internal mechanisms and why some features have been introduced (e.g., why ! or ? are at the end of methods, how objects work internally, etc.).

After you will finish this tome you will get a strong sense of self-confidence and relief, almost like you’ve already mastered the language. If I were the head of startup which is going to use Ruby, I would put this as a required reading for all my employers. And I definitely recommend it to everyone, to keep it also as your personal Ruby bible.
Were these reviews helpful? Let us know