Have one to sell? Sell yours here
Programming Ruby: The Pragmatic Programmer's Guide
 
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 Programmer's Guide [Paperback]

David Thomas , Andrew Hunt
5.0 out of 5 stars  See all reviews (2 customer reviews)

Available from these sellers.


Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Plus, get an extra £5 Gift Certificate when you trade in books worth £10 or more before June 30, 2012. Visit the Books Trade-In Store for more details.
There is a newer edition of this item:
Programming Ruby 1.9: The Pragmatic Programmers' Guide Programming Ruby 1.9: The Pragmatic Programmers' Guide 5.0 out of 5 stars (2)
£25.02
In stock.

Product details

  • Paperback: 608 pages
  • Publisher: Addison Wesley; 1 edition (17 Oct 2000)
  • Language English
  • ISBN-10: 0201710897
  • ISBN-13: 978-0201710892
  • Product Dimensions: 23.4 x 19 x 2 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 1,586,161 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Amazon.co.uk Review

"Big in Japan" was a pejorative term for failed pop musicians, but it accurately describes the Ruby language, designed by Yukihiro Matsumoto. The authors--who wrote The Pragmatic Programmer--feel it deserves a wider exposure in the English-speaking world.

Ruby is fully object oriented with a simple and consistent syntax. It is Open Source and freely available from ftp:ftp.netlab.co.jp/pub/lang/ruby as well as many mirrors. In Programming Ruby the authors set out to show that Ruby can and should replace languages such as Perl, Python, SmallTalk and C++; from which it takes all the best features--even Perl's excellent regular expression support.

The book is in four parts: a tutorial; a section on installing and running it in various environments; a section on the inner workings and interrelationships of the language; and, finally, a huge library reference. The authors make their case for the language's simplicity, predictability and flexibility. Unlike languages which have grown by accretion, such as Perl, it is remarkably clean.

Clearly a labour of love, Programming Ruby is equally clean and the authors' enthusiasm for it drips from the pages. Certainly, if you are passionate about efficient, error-free coding Ruby is hard to beat. There are, though, an awful lot of languages available already.

Ruby is certainly worth a look just to see how simple and accessible an object-oriented language can be when its author can draw on the best and throw away the rest. Working programmers will decide whether Ruby gains widespread acceptance but in Programming Ruby it has a powerful and convincing advocate. --Steve Patient

Product Description

Ruby, a new, object-oriented scripting language, has won over thousands of Perl and Python programmers in Japan -- and it's now launching worldwide. This is the world's first English-language developer's guide to Ruby. Written by the two leading Ruby developers, Programming Ruby demonstrates Ruby's compelling advantages, and serves as a start-to-finish tutorial and reference for every developer. The authors introduce all of Ruby's basics, including classes, objects, variables, container, iterators, types, methods, expressions, modules, I/O, and threads. You'll master Ruby development for the Web, including CGI scripts and embedding Ruby in HTML; learn how to create GUI-based Ruby applications with TK; and discover techniques for integrating Ruby with Windows. Programming Ruby shows how to extend Ruby in C, and presents in-depth coverage of advanced features. Numerous fully functional code examples are included. The book contains an alphabetical reference to Ruby 1.6 -- the latest version -- documenting over 800 methods, 40 built-in classes, and many useful library modules.

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
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

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
12 of 12 people found the following review helpful
By A Customer
Format:Paperback
Painless, fun, quick, simple. These are words that can equally describe both Ruby and 'Programming Ruby'. Ruby combines the best elements of many languages but for me it most resembles a cross between Smalltalk and Perl. Taking the best elements from each.

The book is easy and enjoyable to read and most of all it makes you want to read it and learn more. I'm not sure if this is most attributed to the authors writing style or because of Ruby.

The learning curve is not steep at all (if I can learn it anyone can). After programming in many languages Ruby is a breath of fresh air. Things that I would have done manually before I now code in Ruby since it is easy and enjoyable.

The book covers all you need to get you started in Ruby. Starting with arrays, hashes, control structures and the like. Then moving towards objects, inheritance, and access control. Afterwards moving onto the interesting stuff like blocks, iterators, regular expressions, io, and threads. The book does cover more advances topics like Ruby/Tk, web scripting, Windows programming, Extending Ruby. These latter chapters can be a bit thin sometimes and may not be in-depth enough for the advanced users, but they should give you enough information to get past the starting line...

In summary: By the book. Code Ruby. Be Happy.

Comment | 
Was this review helpful to you?
7 of 7 people found the following review helpful
By A Customer
Format:Paperback
I purchased this book about 6 months ago after a co worker introduced me to Ruby. Reading "Programming Ruby" has been one of the best introductions to a new program language i have experienced. The authors enthusiasm for this new language is contagious. I dont program in Perl or Java much anymore, it always seems easier too do it Ruby. I have recommended Ruby and "Programming Ruby" to several friends and have recieved enthusiastic feed back from all who have read this book.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  28 reviews
30 of 32 people found the following review helpful
Very high quality book with lots of details and examples 5 Nov 2000
By John D. Lewis - Published on Amazon.com
Format:Paperback
I'm very new to Ruby, but I find learning new programming languages fun and challenging. I like to dig in as quickly as possible, using what examples I can find to show me how the language works, and reading the documentation when I have to. After getting a feel for the language, I start reading the books. I don't start with books, usually, because they're often not geared for a programmer learning a second language.

But I found Programming Ruby to be an excellent starting point -- it provides the quick-start help I need by giving numerous and well thought-out examples both in the body of the text and in the reference section (see below).

The chapters are well arranged (and even include information on distributed Ruby on page 272, often where most texts just start talking about file I/O!), with the first 276 pages devoted to an introduction to the language. The last 250-or-so pages contain an excellent library reference, alphabetically arranged.

The devil is in the details, though. And here, AW put a lot of thought into the finer points. The type is clear; the typographic conventions are standard and, if you've used any other typical programmer's text, easy to follow. So far, this is what you'd expect from any good computer title. In addition, however, they have added an easy-to-use thumbtab system for the alphabetical arrangement of the reference section, so finding a particular entry is quick and easy. Each entry in the reference section is clearly laid out with a class hierarchy (including super- and subclasses), parameters, description, "Mixes in" and a list of all class methods (most (if not all) with examples and output. All well-designed not only for the experienced Ruby programmer but also for the novice.

The index is thorough, with helpful vertical lines between the columns, and the reference section entry is identified by bold page numbers.

All in all, I would highly recommend this book for new Ruby programmers. There are still a number of things I don't understand about Ruby, but this book is an excellent place to start. It sets the bar very high for future books on this new and exciting programming language.

18 of 18 people found the following review helpful
Among the best books on the art of programming 25 Feb 2001
By Dennis Decker Jensen - Published on Amazon.com
Format:Paperback
I haven't read a book so well arranged and well written in many years! The book is now regarded the official (US) english reference on Ruby version 1.6

The pick-axe book as it is called among the ruby-fans (because of the front cover) is very well suited to beginners as well as experts. It's driven by examples that gives you a extremely good feeling of the power of Ruby. It's fun to read and excels in its unusual but still very gentle learning curve. You'll be finished with the basics of file-handling, I/O, GUI and Threads within the first quarter of the book!

The book is divided into four parts: A tutorial for newbies, a practical part on Ruby in its setting, a crystallized part with all the advanced and gory details of Ruby (for the experts), and finally the Ruby Library and Standard Library Reference. The reference is very well arranged and easy to navigate in to say at the least. You'll very quickly find yourself jumping around in the book - revisiting cool examples and trying things out for yourself.

You'll pick up Ruby in a number of few days. If you're in doubt go and have a look at www.rubycentral.com where you will find excerpts of chapters from the book, FAQ, links, articles, code snippets, etc. arranged as well as the book :-) I hear there's even been put up an on-line tutorial if you want to try Ruby out right away.

Comming from a background of C, C++, Java and Python I've found the language Ruby to beat them all. I didn't think I would need to learn another language, but with Ruby I was positively surprised.

Most of the time programming Ruby feels like designing directly in a language that supports the way you think about the problems at hand!

So what is Ruby? Here is a little shortcut list for those in a hurry: Easy to learn, high level of abstraction, interpreted, true OO, file-based source code, flexibility, convenience, metaclasses, closures/blocks, iterators, collections, mixins, continuations, threads, regular expressions, modules for patterns support, transparency, dynamic typed, easy to extend (even easier than Python), portability, light weight, easy to embed, modest in use of system resorces, but most importantly: Fun and joyful!

And thats just the surface. E.g. the authors have even used Ruby to implent parts of an X11 window manager.

It's almost as close as SmallTalk in being pure OO, while you still can make procedural programs if you want to. The simple, clean and concise syntax competes with and wins over the syntax of Python many times. It has the power of C++ while leaving out the details, that slows your development-speed down. You need less code-lines than in Java, but without the loss of clarity or readability. Many Perl-programmers or sys-admins have been shifting to Ruby because of its greater readability while still being just as expressive and powerful.

I could go on, but take a short look at www.rubycentral.com and see for yourself. Ruby's worth it.

Dennis Decker Jensen

11 of 12 people found the following review helpful
A excellent introduction and beginner's reference 19 Nov 2000
By QuinnC - Published on Amazon.com
Format:Paperback
This book is an excellent into to a very easy to use language. Ruby is much more OO than any language except Smalltalk and is much better integrated with standard UNIX/POSIX than that language. Now all we need is a reference for all the libraries and a book on XP/Rapid Development using Ruby (and the latter is what the current authors say they're working on next, although they don't explicitly mention XP that I noticed).

I give this book my highest recommendation, it is one of the best books I have read of its type (language intro). As for Ruby, if you are thinking about learning a language and want to do OO for anything except systems and embedded programming, then this is the language to look at. (for systems and embedded, OO is probably not a good idea in most cases anyhow... object-based is about the highest you'd want to go.)

Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback