Practice makes perfect, or at least as perfect as one can get, and master practitioner Gray's collection of the 25 best challenges from the first year of the Ruby Quiz (a feature of the Ruby Talk mailing list) offers plenty of practice. Challenges include selecting the ultimate algorithm, optimizing tradeoffs of memory usage, runtime speed, coding convenience and readability, analyzing problems, writing code that learns from its mistakes, and making code cunning. Gray provides several solutions for challenges when possible, and shows the strengths and weaknesses of the approaches, covering such topics as custom templating, eating less RAM, objectified Sokoban, sorting, testing a cipher, instant Web serving, searching, and pruning code down to the real essentials. Distributed by O'Reilly. Annotation ©2006 Book News, Inc., Portland, OR (booknews.com)
Read More
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 NumbersCrosswordsCryptogramsKnight's TourPaper, Rock, ScissorsTic-Tac-ToeTexas 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.
Read Less