or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
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.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

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

Dave Thomas , Chad Fowler , Andy Hunt
4.2 out of 5 stars  See all reviews (63 customer reviews)

List Price: $44.95
Price: $28.95 & FREE Shipping. Details
You Save: $16.00 (36%)
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
Only 3 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it tomorrow, May 21? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now
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.6 out of 5 stars (18)
$33.46
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

Frequently Bought Together

Programming Ruby: The Pragmatic Programmers' Guide, Second Edition + The Ruby Programming Language
Price for both: $53.95

Buy the selected items together
  • The Ruby Programming Language $25.00


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


Product Details

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

More About the Authors

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

Customer Reviews

This is the book you want if you're learning Ruby. Raymond Brigleb  |  15 reviewers made a similar statement
As much as I liked the first edition of this book, I like this one even more. Patrick Eyler  |  15 reviewers made a similar statement
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
5.0 out of 5 stars Worthy successor to the indispensable original November 6, 2004
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
5.0 out of 5 stars Best book on programming ever! July 31, 2006
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
1.0 out of 5 stars ad hype
it is a nice programming language until you see HP cloun services operating in their tiny internet room and mam whatever hoping to save some money by fusing that spirit into the... Read more
Published 2 months ago by dimitry
5.0 out of 5 stars 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 14 months ago by A. Fitch
1.0 out of 5 stars 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 on October 13, 2010 by Charles Arthur Tilbury
4.0 out of 5 stars 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
3.0 out of 5 stars 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
5.0 out of 5 stars 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
5.0 out of 5 stars 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
5.0 out of 5 stars 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
5.0 out of 5 stars 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
5.0 out of 5 stars 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
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


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

Forums

Search Customer Discussions
Search all Amazon discussions

Topic From this Discussion
Is this updated enough to buy now?
I'm also wondering if they'll have a new book out anytime soon. 2004 will almost be 4 years ago in a few months. Ruby has gone through a few versions since then. There are other Ruby books out there and much more recent. I'm curious to see if the most recent ones are better.
Oct 25, 2007 by JH |  See all 2 posts
the "song" example Be the first to reply
Start a new discussion
Topic:
First post:
Prompts for sign-in
 




So You'd Like to...


Create a guide


Look for Similar Items by Category