|
Because practice refines your skills.Black belts practice kata, musicians practice scales, and athletes train endlessly. Practice strengthens your core skills and lets you safely explore new methods you wouldn`t be able to try otherwise. Now you can hone your software development skills to a fine edge by practicing with Best of Ruby Quiz.
James Edward Gray II runs the weekly Ruby Quiz on the Ruby Talk mailing list. He has hand picked the best 25 challenges from the first year and expanded them greatly into book form.
Inside, you`ll find both problem statements (and there are some very cool problems) and worked solutions. For many problems, James provides multiple possible solutions. For each, he steps through the code, analyzing the strengths and weaknesses, showing how the clever parts work, and generally giving you a good feel for writing great code in Ruby.
Each quiz teaches something new about programming:
Algorithm selection: see how choosing the right algorithm can dramatically change both the ease of coding and the performance of the solution.
Optimization: see the trade-offs you can make for memory usage, runtime speed, coding convenience, and reada¬ability. Use benchmarking to validate that theory translates into practice.
Problem analysis: sometimes the trick is to dig deeper into the problem itself.
Code that learns: see how your code can learn from mistakes.
Code that cheats. (Did we say that?)
If you`re just starting to learn Ruby, this book will help you to master how this exciting language is used in practice. If you`re an old Ruby hand, you will find plenty of new tricks to help you hone your skills on some tricky (and fun) challenges. ISBN 9788184041910
|
|
Pages : 418
|