Product Details
Best of Ruby Quiz Volume One (Pragmatic Programmers)

Best of Ruby Quiz Volume One (Pragmatic Programmers)
By James Edward Gray

List Price: $29.95
Price: $22.76 & eligible for FREE Super Saver Shipping on orders over $25. Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

42 new or used available from $8.00

Average customer review:

Product Description

Solve these twenty-five popular programming puzzles, and sharpen your programming skills as you craft solutions.

You'll find interesting and challenging programming puzzles including:

800 Numbers

Crosswords

Cryptograms

Knight's Tour

Paper, Rock, Scissors

Tic-Tac-Toe

Texas Hold-Em

...and more.

Learning to program can be quite a challenge. Classes and books can get you so far, but at some point you have to sit down and start playing with some code. Only by reading and writing real code, with real problems, can you learn.

"The Ruby Quiz" was built to fill exactly this need for Ruby programmers. Challenges, solutions, and discussions combine to make "Ruby Quiz" a powerful way to learn Ruby tricks. See how algorithms translate to Ruby code, get exposure to Ruby's libraries, and learn how other programmers use Ruby to solve problems quickly and efficiently.


Product Details

  • Amazon Sales Rank: #780600 in Books
  • Published on: 2006-03-01
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 298 pages

Editorial Reviews

About the Author
James Edward Gray II is a contract programmer based in Edmond, Oklahoma. He has done extensive work with web sites, Perl scripting and Java applets, for everyone from programming shops to food companies, but his true passion lies with Ruby. He's been an active part of the online Ruby community writing documentation, presenting the language to computer groups, and, of course, running the Ruby Quiz.


Customer Reviews

Summary of the website3
James Gray is a seasoned Ruby veteran who has been adding value to the community for a long time. One of his major contributions is the Ruby Quiz - a competition modeled after the Perl Quiz - each week a new challenge is posted and people are encouraged to contribute solutions. In the end of the week, James analyzes the most interesting solutions and presents a summary on the website (and the mailing list).

This book is a digest of the 25 most interesting quizzes and their solutions carefully collected by James and released in one volume (using some very pretty typesetting, I must add). It's basically a printed version of the website, with only very little content added - like additional exercises after each quiz.

And this is where the problem of this book lays, in my opinion. To experienced programmers it won't be particularly interesting, since looking at the quiz website itself and participating in the lively discussion on the maling list is much more interesting.

This book could be excellent for newbies, but unfortunately it's not meant for those unfamiliar with the language. So even here, the website is just far more useful. The only real advantage of this book is its dead-tree format, which may be nice for people who have difficulty reading from the computer screen, or for people temporarily without internet access.

The best challenges from ruby quiz on a hard copy5
As a programmer trying to invest in his knowledge
portfolio, there is a ton of literature on new ideas, techniques and
tools. But it is more rare to find books that contain practical
examples on how to use these techniques. When it comes to solving
typical problems in programming, 'The Best of Ruby Quiz' is such a
book.

The book is splitted into two parts: The first part contains the
challenges, the second part has the answers.

The quizzes itself range from very simple to moderate tasks, which you
could (in theory at least) solve in a few hours. Some of the tasks
are somehow related to everyday programming tasks (like transforming a
proprietary text format to xml, some are more abstract (like searching
for the words that are banned in a spam filter). But every challenge
is fun and more than one way to solve it.

But of course the answers are the real gold in this book: They are
written by some of the elite programmers in the Ruby Community, like
Jim Weinrich or Florian Gross. When trying to solve some of the
problems, I often found myself embarrassed by a much more simple and
logical solution after looking at the solutions from these guys.

This book is not only for Ruby programmers. Sure it has a bit from a
cookbook for the ruby programming language, as reading through the
code will teach you a lot about the language. But the main propose is
giving you questions and answers to think about programming, and this
is valuable for everyone in that field.

Exercise Your Ruby Chops5
Picking up the basics of a new programming language such as Ruby can be enjoyable, but if you can't apply what you've learned quickly that knowledge may be fleeting. "Best of Ruby Quiz" can help out. "Best of Ruby Quiz" contains twenty-five fun programming challenges ("quizzes") that are excellent for exercising your new Ruby chops. The quizzes vary in difficulty and each includes in-depth discussions covering multiple solutions. More importantly, the quizzes really are fun!

The quizzes in "Best of Ruby Quiz" are excerpted from the author's web site "Ruby Quiz" so while you could certainly save yourself a few bucks and just visit the site, the book is a much more polished product. Also, I believe that the immediacy of the book with its superior layout really enhances the learning experience when compared to the web site.

This book makes a great companion to the Pickaxe and the two books form an effective one-two punch for learning Ruby. So go ahead and sit down with a copy of this book, fire up the code editor of your choice, pick a quiz and start coding. Not only will you learn a thing or two about Ruby, you'll have a good time doing it.