Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Very Good See details
$10.99 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Programming Ruby: The Pragmatic Programmers' Guide, Second Edition
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Programming Ruby: The Pragmatic Programmers' Guide, Second Edition [Paperback]

Dave Thomas (Author), Chad Fowler (Author), Andy Hunt (Author)
4.3 out of 5 stars  See all reviews (62 customer reviews)

List Price: $44.95
Price: $23.97 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $20.98 (47%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want it delivered Monday, June 4? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Paperback $23.97  
Unknown Binding --  
There is a newer edition of this item:
Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby) Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby) 4.5 out of 5 stars (15)
$29.34
In Stock.

Book Description

October 8, 2004 0974514055 978-0974514055 2nd

Ruby is an increasingly popular, fully object-oriented dynamic programming language, hailed by many practitioners as the finest and most useful language available today. When Ruby first burst onto the scene in the Western world, the Pragmatic Programmers were there with the definitive reference manual, Programming Ruby: The Pragmatic Programmer's Guide.

Now in its second edition, author Dave Thomas has expanded the famous Pickaxe book with over 200 pages of new content, covering all the improved language features of Ruby 1.8 and standard library modules. The Pickaxe contains four major sections:

  • An acclaimed tutorial on using Ruby.
  • The definitive reference to the language.
  • Complete documentation on all built-in classes, modules, and methods
  • Complete descriptions of all 98 standard libraries.


If you enjoyed the First Edition, you'll appreciate the expanded content, including enhanced coverage of installation, packaging, documenting Ruby source code, threading and synchronization, and enhancing Ruby's capabilities using C-language extensions. Programming for the World Wide Web is easy in Ruby, with new chapters on XML/RPC, SOAP, distributed Ruby, templating systems, and other web services. There's even a new chapter on unit testing.

This is the definitive reference manual for Ruby, including a description of all the standard library modules, a complete reference to all built-in classes and modules (including more than 250 significant changes since the First Edition). Coverage of other features has grown tremendously, including details on how to harness the sophisticated capabilities of irb, so you can dynamically examine and experiment with your running code. "Ruby is a wonderfully powerful and useful language, and whenever I'm working with it this book is at my side" --Martin Fowler, Chief Scientist, ThoughtWorks

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $2 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Customers buy this book with The Ruby Programming Language $24.07

Programming Ruby: The Pragmatic Programmers' Guide, Second Edition + The Ruby Programming Language
  • This item: Programming Ruby: The Pragmatic Programmers' Guide, Second Edition

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • The Ruby Programming Language

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

About the Author

Dave Thomas, as one of the authors of the Agile Manifesto, understands agility. As the author of "Programming Ruby," he understands Ruby. And, as an active Rails developer, he knows Rails.



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.



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.


Product Details

  • Paperback: 829 pages
  • Publisher: Pragmatic Bookshelf; 2nd edition (October 8, 2004)
  • Language: English
  • ISBN-10: 0974514055
  • ISBN-13: 978-0974514055
  • Product Dimensions: 9.4 x 7.4 x 1.6 inches
  • Shipping Weight: 2.9 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (62 customer reviews)
  • Amazon Best Sellers Rank: #170,713 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
148 of 155 people found the following review helpful
Format:Paperback
If you are like me, a busy programmer, I know you are wondering when you hear about Ruby, "Do I really have to learn yet another programming language?" I mean, Java, C#, Python? When will it ever end?

Well, it ends when you die, and yes, you do have to learn another programming language :-) But you'll like Ruby, I promise. Things I like about Ruby:

0. As easy to write scripts in as Perl, but it really scales.

1. Exceedingly self-consistent. Ruby has fewer syntactic warts than any programming language I'm familier with. All the features hang together very nicely.

2. Duck Typing: If you use a variable like a string, its a string. If you use it like a float, its a float. If you are familier with Haskell or or similarly typed languages, you get the idea. Ruby gives you about 80% of what Haskell gives you here.

3. Nice module system. This implements a nice mix-in facility--which gives you the power of C++ templates, with more structure. Also eliminates the need for multiple inheritance.

4. Wacky features like call/cc for the true language freaks.

Oh, so you want to know about the book too? Well, I agree with some of the reviewers here who describe the book as less of a tutorial/visionary screed/inspiring gospel and more of a reference manual. But I don't think this is a fair critique of the book. Back in the 60's, before the internet, a language needed a book to do for it what K&R did for C, or what Clocksin & Mellish did for prolog.

But today, you learn about a language by surfing the web. Instead of just duplicating what is available on the internet, this book complements the web, by supplying in a nice portable package what you need to know about Ruby which _can't_ be (easily) gotten from the web. Its a "post-internet" volume in this fashion.

Really the only critique of the book I can offer is that its description of Ruby/TK, the default GUI programming library for Ruby, is a bit abrieviated. It gives you the basics and the refers you a book about Perl/TK for the details. Please guys, in the next edition expand on this!

Ruby is a language which is as object-oriented as smallTalk, as flexible as Scheme, has the scriptibility of Perl, and a nice C-ish syntax. What's not to like? This book is the book to buy if you decide to learn Ruby.
Was this review helpful to you?
37 of 42 people found the following review helpful
Format:Paperback
Dave has done it again. Taking what was already an excellent first edition and growing it by 50%. He has updated all of the original chapters, the language walkthrough and the library reference.

Like most language books Programming Ruby starts with installing Ruby and then goes into a language reference; strings, classes, blocks, regular expressions, etc. It's all covered step by step with examples. The second part, Ruby and It's World, is a grab bag of chapters on more complex Ruby topics like graphical user interfaces, Ruby GEMs, and embedding Ruby.

Part III is a concise reference for Ruby that is handy when you already know the language but need a refresher. And the final part is a library reference with examples of using each method. This is the invaluable reference that you will use in every Ruby project.

This is the book to buy to learn Ruby, and to use as a desk reference. There is no question about that.
Comment | 
Was this review helpful to you?
13 of 13 people found the following review helpful
Format:Paperback
I am a successful self taught programmer. I have learned C/C++, Java, Perl, and now Ruby all from books and reading other people's code. I have to say this is the best book on programming for a particular language that I have ever read. And I have read quite a few.

The book itself is very well written, easy to understand, has a little humour every now and then, but not too much to be annoying.

Some of the other reviews say the chapters of the book are not layed out very well and they don't understand what the Ruby Crystallized section is for. I would have to strongly disagree with this. It starts out with installation, Hello World, then it gets right into classes, methods, variables, etc. All the good stuff. The Ruby Crystallized section is basically to be used as a reference manual to the language. Basically, if you want to skip all of the "whys" and "how-tos", just read this section and learn some of the standard API and you're good to go. But if you want a little more in depth ( which is what I want ), start from the beginning of the book. I think the book was designed so that you really don't have to read the entire thing to get a good grasp of the Ruby language and it's concepts. The cool thing about this book is that it has most of the Ruby standard libraries in the back for easy reference. Not a lot of programming books have this.

I had the opportunity to hear Dave and Andy at a conference just recently and I tell you these are 2 really intelligent, great guys. It was a real joy reading this book. And Ruby is really a joy to learn and program!
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
This is how to write a book!
Dave should teach other program writers how to create reference guides. I use this book all the time. Read more
Published 3 months ago by Amanda Fitch
waste of time and treasure
This book is about the worst reference book I have ever purchased. At no point does it give a complete picture of the information it is trying to portray. Read more
Published 19 months ago by Charles Arthur Tilbury
Programming Ruby
I found this book to be very informative. I am new to Ruby however I have read many other programming books. Read more
Published on August 28, 2009 by W. Mattingly
Great but...
Great read and I am loving the language. BUT there are no exercises for one to practice with! ARGH. Read more
Published on June 2, 2009 by Piotr
Firmly Planted Near The Keyboard
I acquired the "Pick Axe" book a few months after beginning to work full time on a rails application. Read more
Published on March 19, 2009 by T. Crawford
Must have for any Ruby programmer
I'm not sure how much the times have changed, but I got the second edition of this book on pre-order. At that time it was a fantastic references. Read more
Published on February 25, 2009 by Scott Lembcke
Excellent Book - Must Have for any Ruby Developer
First and foremost, this book isn't a beginners guide to ruby, it doesn't hold your hand from "Hello, world", and it expects you to already know the basics of programming. Read more
Published on October 19, 2008 by Stefan Nuxoll
Good Stuff
It's good enough that I refer to it instead of Google for the more mundane bits.
Published on June 19, 2008 by tonyfromky
This book gets me home late!
This is "the book" if you want to learn Ruby. I had my share of the web-search-print-and-try approach to get a taste on Ruby, and after reading this book I can say I haven't been... Read more
Published on May 4, 2008 by Gaston Draque
So-so
After having just finished reading the excellent "Programming in C" by Stephen Kochan, I find "Programming Ruby" a bit lackluster. Read more
Published on April 16, 2008 by J. Thomas
Search Customer Reviews
Only search this product's reviews

Book Extras from Other Websites

This content may contain spoilers

Introduction (From Wikipedia)

Programming Ruby is a book about the Ruby programming language by Dave Thomas and Andrew Hunt, authors of The Pragmatic Programmer. In the Ruby community, it is commonly known as "The Pickaxe" because of the pickaxe on the cover. The book has helped Ruby to spread outside Japan. The complete first edition of this book is freely available under the Open Publication License v1.0, and was published by Addison-Wesley in 2001. The second edition, covering the features of Ruby 1.8, was published by The Pragmatic Programmers, LLC in 2004. An updated version covering Ruby 1.9 is now available from The Pragmatic Programmers.

Attribution: The information appearing above in this tab is from Wikipedia: Programming Ruby. Amazon is not affiliated with, and neither endorses, nor is endorsed by Wikipedia or any of the authors who contributed to this article. The Wikipedia content may be available under the Creative Commons Attribution-ShareAlike License, version 3.0 or any later version, available at: CC BY-SA. Additional or other terms may apply. See Wikipedia Terms of Use for details.
See a problem with this content? Let us know
Please select the problem below and submit.
This article does not match the product
Other
500 characters left
Your feedback is valuable and will be considered.

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(69)
(6)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
Is this updated enough to buy now? 1 Oct 25, 2007
the "song" example 0 Sep 3, 2006
See all 2 discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   
Related forums


So You'd Like to...


Create a guide