Buy new:
$28.04$28.04
FREE delivery:
Saturday, April 1
Ships from: Amazon.com Sold by: Amazon.com
Buy used: $13.36
Other Sellers on Amazon
+ $3.99 shipping
90% positive over last 12 months
& FREE Shipping
91% positive over last 12 months
Usually ships within 4 to 5 days.
+ $3.99 shipping
92% positive over last 12 months
Usually ships within 3 to 4 days.

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required. Learn more
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.

Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide (The Facets of Ruby) 4th Edition
Enhance your purchase
Ruby is the fastest growing and most exciting dynamic language out there. If you need to get working programs delivered fast, you should add Ruby to your toolbox.
This book is the only complete reference for both Ruby 1.9 and Ruby 2.0, the very latest version of Ruby.
2013 marks the 20th anniversary of the Ruby language. We're proud that throughout its history, we've continued to cover the latest version of Ruby.
Would you like to go from first idea to working code much, much faster? Do you currently spend more time satisfying the compiler instead of your clients or end users? Are you frustrated with demanding languages that seem to get in your way, instead of getting the work done? Are you using Rails, and want to dig deeper into the underlying Ruby language? If so, then we've got a language and book for you!
Ruby is a fully object-oriented language, much like the classic object-oriented language, Smalltalk. Like Smalltalk, it is dynamically typed (as opposed to Java or C++), but unlike Smalltalk, Ruby features the same conveniences found in modern scripting languages such as Perl and Python.
The combination of the power of a pure object-oriented language with the convenience of a scripting language makes Ruby a favorite tool of intelligent, forward-thinking programmers.
The Pickaxe contains four major sections:
An acclaimed tutorial on using Ruby. The definitive reference to the language. Complete documentation of all built-in classes, modules, and methods. Complete descriptions of all 97 standard libraries.
This is the reference manual for Ruby, including a description of all the standard library modules, a complete reference to all built-in classes and modules (including all the new and changed methods introduced by Ruby 1.9, 1.9.2, 1.9.3, and 2.0). It also includes all the new and changed syntax and semantics introduced since Ruby 1.8. Learn about the new parameter passing rules, local variable scoping in blocks, fibers, and the new block declaration syntax, among other exciting new features.
About Ruby 2.0
Ruby 2.0 is a minor update to Ruby 1.9, unlike the more major updates from Ruby 1.8 to Ruby 1.9.
The major language changes in Ruby 2.0 are the addition of keyword arguments and the change to use UTF-8 as the default source file encoding.
There are a number of additions to the standard library, including:
@Enumerator::Lazy@, which adds support for lazy access to potentially infinite lists. Refinements allow you to encapsulate changes to third-party classes, and scope their application to individual source files, preventing your changes from polluting the global application.
You'll also find that Ruby 2 is faster, and has memory management improvements that make it more server-friendly.
All told, there are over 110 sections of the book that have been flagged and cross-linked to indicate 2.0 content.
What You Need
This book assumes you have a basic understanding of object-oriented programming.
In general, Ruby programmers tend to favor the the command line for running their code, and they tend to use text editors rather than IDEs.
* Ruby runs on Windows, Linux, and Macs.
- ISBN-101937785491
- ISBN-13978-1937785499
- Edition4th
- PublisherPragmatic Bookshelf
- Publication dateJuly 23, 2013
- LanguageEnglish
- Dimensions7.5 x 1.8 x 9.2 inches
- Print length888 pages
Frequently bought together
- +
- +
Customers who viewed this item also viewed
From the brand

-
-
The Pragmatic Programmers publishes hands-on, practical books on classic and cutting-edge software development and engineering management topics. We help professionals solve real-world problems, hone their skills, and advance their careers.
Editorial Reviews
About the Author
Dave Thomas is a cornerstone of the Ruby community, and is personally responsible for many of its innovative directions and initiatives. He and original co-author Andy Hunt are founders of the Pragmatic Programmers and the Pragmatic Bookshelf.
Andy Hunt is a programmer turned consultant, author and publisher. He co-authored the best-selling book “The Pragmatic Programmer”, was one of the 17 founders of the Agile Alliance, and co-founded the Pragmatic Bookshelf, publishing award-winning and critically acclaimed books for software developers.
Chad Fowler is co-director of Ruby Central, Inc., and remains an active, driving force in the Ruby community.
Product details
- Publisher : Pragmatic Bookshelf; 4th edition (July 23, 2013)
- Language : English
- Paperback : 888 pages
- ISBN-10 : 1937785491
- ISBN-13 : 978-1937785499
- Item Weight : 3.54 pounds
- Dimensions : 7.5 x 1.8 x 9.2 inches
- Customer Reviews:
About the authors
Andy Hunt is a writer of books on software development and chill scifi. Hunt co-authored the seminal text "The Pragmatic Programmer," the popular "Pragmatic Thinking & Learning", award-winning "Practices of an Agile Developer", a half-dozen other books and many articles. Andy was one of the 17 original authors of the Agile Manifesto. He and co-author Dave Thomas founded the Pragmatic Bookshelf publishing house, specializing in books for for software developers, testers, and managers.
Chad Fowler is an internationally known software developer, trainer, manager, speaker, and musician. Over the past decade he has worked with some of the world’s largest companies and most admired software developers.
Chad is VP of Engineering at LivingSocial. He is co-organizer of RubyConf and RailsConf and author or co-author of a number of popular software books, including The Passionate Programmer: Creating a Remarkable Career in Software Development.
I'm a programmer, and now I'm an accidental publisher.
I wrote The Pragmatic Programmer with Andy Hunt at the end of the '90s, and that experience opened a new world for us. We discovered a love of writing that complemented our love of learning new things.
I'm one of the authors of the Agile Manifesto, and I'm probably responsible for bringing Ruby to attention of Western developers with the book Programming Ruby. I was one of the first adopters of Rails, and helped spread the word with the book Agile Web Development with Rails.
I enjoy speaking at conferences, running public and private training. But most of all, I love coding.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Trust me I tried just learning Rails years ago, now I know Ruby I am very seldom defeated. If you like this comment get the book GREAT resource.
I had a much easier time reading a higher level programming book called "Eloquent Ruby" as he described why Ruby coders do things the way they do it and he said it wasn't for beginners. There were a lot of "Aha" moments when I read that. With "Programming Ruby 1.0 & 2.0", I'm like "WTF are you trying to say?" I was hoping for a beginner book to make sure I rounded out the basics of the language by getting this book. Fail!
Ruby is different and has a clearly unique style for programming. However, without hitting the basics of the reasons to use a 'puts' statement over a 'p' statement over a 'printf' statement leaves the reader confused. I have given him 3 stars because I'm hopeful that this book has the information I'm looking for. The end has a lot of the built in methods Ruby uses, which will definitely be a plus. I just hope the examples are more clear in the future chapters and that I get something useful out of it rather than having a list of all of the built in methods.
Here's the point: When you first introduce a piece of code, walk line by line through what it is doing. Gradually back off with later examples and skipping the things the reader has already seen. Continue this, highlighting the new portions in bold, so the reader focuses on the stuff they should be learning in that section. There are only about a million other books that do it this way to use as examples.
Maybe not all you need, but enough to let you make a better determination of just what "all you need" actually means in your case.
It's not cheap, but is well worth the price if you are willing to put in the work.
This book is very thorough with a very large reference section.
Top reviews from other countries

1. The tutorial in the first half of the book is excellent. It is a great way to learn Ruby. After you've finished it you should have basic competence in Ruby.
2. The second half of the book is a reference - you can Google what you want to know much quicker, so this part is pointless these days.
3. The book covers Ruby 1.9 and 2.0. My version installed on Windows is 3.1.2, so the book, printed in 2013 (approx. 10 years previously in 2022) is a bit old. If you are really keen on learning Ruby there are more modern texts available.

Rather than being an expanded version of online documentation, this book takes a top-down approach to efficiently cover the bare essentials and get stuck in. Later chapters look at specific parts, such as regular expressions, in more detail.
While there is some repetition between chapters, I find this helps me to learn. However, the book does aim to be comprehensive, so expect some more esoteric content later on, including character encodings a large chunk of the language reference.
Improvements: Remove the language reference in favour of online chapters.


