Effective Ruby: 48 Specific Ways to Write Better Ruby (Effective Software Development Series)
<P style="MARGIN: 0px">If you’re an experienced Ruby programmer, <B> <I> <B>Effective Ruby</B> </I> </B> will help you harness Ruby’s full power to write more robust, efficient, maintainable, and well-performing code. Drawing on nearly a decade of Ruby experience, Peter J. Jones brings together 48 Ruby best practices, expert tips, and shortcuts—all supported by realistic code examples.</P> <P style="MARGIN: 0px"> </P> <P style="MARGIN: 0px">Jones offers practical advice for each major area of Ruby development, from modules to memory to metaprogramming. Throughout, he uncovers little-known idioms, quirks, pitfalls, and intricacies that powerfully impact code behavior and performance.</P> <P style="MARGIN: 0px">Each item contains specific, actionable, clearly organized guidelines; careful advice; detailed technical arguments; and illuminating code examples. When multiple options exist, Jones shows you how to choose the one that will work best in your situation.</P> <P style="MARGIN: 0px"> </P> <P style="MARGIN: 0px"> <B> <I> <B>Effective Ruby</B> </I> </B> will help you systematically improve your code—not by blindly following rules, but by thoroughly understanding Ruby programming techniques.</P> <P style="MARGIN: 0px"> </P> <P style="MARGIN: 0px">Key features of this concise guide include</P> <UL> <LI> <DIV style="MARGIN: 0px">How to avoid pitfalls associated with Ruby’s sometimes surprising idiosyncrasies</DIV> </LI> <LI> <DIV style="MARGIN: 0px">What you should know about inheritance hierarchies to successfully use Rails (and other large frameworks)</DIV> </LI> <LI> <DIV style="MARGIN: 0px">How to use misunderstood methods to do amazingly useful things with collections</DIV> </LI> <LI> <DIV style="MARGIN: 0px">Better ways to use exceptions to improve code reliability</DIV> </LI> <LI> <DIV style="MARGIN: 0px">Powerful metaprogramming approaches (and techniques to avoid)</DIV> </LI> <LI> <DIV style="MARGIN: 0px">Practical, efficient testing solutions, including MiniTest Unit and Spec Testing</DIV> </LI> <LI> <DIV style="MARGIN: 0px">How to reliably manage RubyGem dependencies</DIV> </LI> <LI> <DIV style="MARGIN: 0px">How to make the most of Ruby’s memory management and profiling tools</DIV> </LI> <LI> <DIV style="MARGIN: 0px">How to improve code efficiency by understanding the Ruby interpreter’s internals</DIV> </LI> </UL>