{"product_id":"9780133847062","title":"Effective Ruby: 48 Specific Ways to Write Better Ruby","description":"\u003cp\u003eIf you’re an experienced Ruby programmer, \u003cb\u003e \u003ci\u003e \u003cb\u003eEffective Ruby\u003c\/b\u003e \u003c\/i\u003e \u003c\/b\u003e 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.\u003c\/p\u003e  \u003cp\u003e \u003c\/p\u003e  \u003cp\u003eJones 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.\u003c\/p\u003e  \u003cp\u003eEach 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.\u003c\/p\u003e  \u003cp\u003e \u003c\/p\u003e  \u003cp\u003e \u003cb\u003e \u003ci\u003e \u003cb\u003eEffective Ruby\u003c\/b\u003e \u003c\/i\u003e \u003c\/b\u003e will help you systematically improve your code—not by blindly following rules, but by thoroughly understanding Ruby programming techniques.\u003c\/p\u003e  \u003cp\u003e \u003c\/p\u003e  \u003cp\u003eKey features of this concise guide include\u003c\/p\u003e  \u003cul\u003e  \u003cli\u003e  How to avoid pitfalls associated with Ruby’s sometimes surprising idiosyncrasies \u003c\/li\u003e  \u003cli\u003e  What you should know about inheritance hierarchies to successfully use Rails (and other large frameworks) \u003c\/li\u003e  \u003cli\u003e  How to use misunderstood methods to do amazingly useful things with collections \u003c\/li\u003e  \u003cli\u003e  Better ways to use exceptions to improve code reliability \u003c\/li\u003e  \u003cli\u003e  Powerful metaprogramming approaches (and techniques to avoid) \u003c\/li\u003e  \u003cli\u003e  Practical, efficient testing solutions, including MiniTest Unit and Spec Testing \u003c\/li\u003e  \u003cli\u003e  How to reliably manage RubyGem dependencies \u003c\/li\u003e  \u003cli\u003e  How to make the most of Ruby’s memory management and profiling tools \u003c\/li\u003e  \u003cli\u003e  How to improve code efficiency by understanding the Ruby interpreter’s internals \u003c\/li\u003e \u003c\/ul\u003e","brand":"Pearson Education","offers":[{"title":"Default Title","offer_id":47147854463216,"sku":"9780133847062","price":31.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0737\/7593\/9824\/files\/9780133847062_p0.jpg?v=1763641926","url":"https:\/\/shop-qa.barnesandnoble.com\/products\/9780133847062","provider":"Barnes \u0026 Noble (DEV)","version":"1.0","type":"link"}