"This book is quite unlike any other Ruby book, and in a couple hundred pages, I imagine anyone who reads this-novice or expert-will emerge a better Ruby programmer." -From the Foreword by Mitchell Hashimoto, founder and CEO of HashiCorp, creator of VagrantReseña del editor:
If you're an experienced Ruby programmer, Effective Ruby 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 Jones brings together 48 Ruby best practices, expert tips, and shortcuts-all supported by realistic code examples. 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. 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. Effective Ruby will help you systematically improve your code-not by blindly following rules, but by thoroughly understanding Ruby programming techniques. Key features of this concise guide include * How to avoid pitfalls associated with Ruby's surprising idiosyncrasies * What you should know about inheritance hierarchies to successfully use Rails (and other large frameworks) * How to use misunderstood methods to do amazingly useful things with collections * Better ways to use exceptions to improve code reliability * Powerful metaprogramming approaches (and techniques to avoid) * Practical, efficient testing solutions, including MiniTest Unit and Spec Testing * How to reliably manage Gem dependencies * How to make the most of Ruby's memory management and profiling tools * How to eliminate code ambiguities that make Ruby incorrectly guess your intentions * How to improve code efficiency by understanding the Ruby interpreter's internals
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.
Buchbeschreibung Addison Wesley Sep 2014, 2014. Taschenbuch. Buchzustand: Neu. 177x126x15 mm. Neuware - This book uniquely advises Ruby programmers on the techniques that expert programmers employ on a daily basis. Each chapter focuses on the major divisions of the Ruby programming language such as Modules and Exceptions. Within each chapter are specific, actionable guidelines formatted as technical essays and referred to as items. Intermediate-level Ruby programmers can use this book to gain the insight and intuition used by experts to write maintainable, robust software. 211 pp. Englisch. Artikel-Nr. 9780133846973