Now that you know the Ruby language, how do you get the most out of
it? Ruby Best Practices is for programmers who want to use
Ruby the way Rubyists do. Written by the developer of the Ruby
project Prawn (https://prawn.majesticsearcreature.com),
this concise book explains how to design beautiful APIs and
domain-specific languages, work with functional programming ideas
and techniques that can simplify your code and make you more
productive, write code that's readable and expressive, and much
more. There's a lot more to Ruby than just knowing the language,
and with Ruby Best Practices you will:
Understand Ruby's secret powers: flexible argument processing
and code blocks
Learn how to bend Ruby code without breaking it, such as mixing
in modules on the fly
Discover the ins and outs of testing and debugging, and learn
to design for testability
Recognize that Ruby isn't slow -- learn to write faster code by
keeping things simple
Learn strategies for text processing and file management,
including regular expressions
Get to know what comprises bad practices, pitfalls, and other
messes
A perfect companion to The Ruby Programming Language,
the bestselling book from O'Reilly, Ruby Best Practices
offers you three comprehensive chapters on driving code through
tests, designing beautiful APIs, and text processing and file
management. With this Rough Cuts edition, you can read these
chapters as they're completed, either online or via PDF.
Learn how to take this rich, beautiful language and make the most
of it, with Ruby Best Practices.