Ruby Best Practices
| By: | Brown, Gregory T |
| Publisher: | O'Reilly Media, Inc. |
| Print ISBN: | 9780596523008 |
| eText ISBN: | 9780596523008 |
| Edition: | 1 |
| Format: | Page Fidelity |
eBook Features
Instant Access
Purchase and read your book immediately
Read Offline
Access your eTextbook anytime and anywhere
Study Tools
Built-in study tools like highlights and more
Read Aloud
Listen and follow along as Bookshelf reads to you
How do you write truly elegant code with Ruby? Ruby Best Practices is for programmers who want to use Ruby as experienced Rubyists do. Written by the developer of the Ruby project Prawn, this concise book explains how to design beautiful APIs and domain-specific languages with Ruby, as well as how to work with functional programming ideas and techniques that can simplify your code and make you more productive. You'll learn how to write code that's readable, expressive, and much more. Ruby Best Practices will help you:Understand the secret powers unlocked by Ruby's code blocksLearn how to bend Ruby code without breaking it, such as mixing in modules on the flyDiscover the ins and outs of testing and debugging, and how to design for testabilityLearn to write faster code by keeping things simpleDevelop strategies for text processing and file management, including regular expressionsUnderstand how and why things can go wrongReduce cultural barriers by leveraging Ruby's multilingual capabilitiesThis book also offers you comprehensive chapters on driving code through tests, designing APIs, and project maintenance. Learn how to make the most of this rich, beautiful language with Ruby Best Practices.