Effective Ruby

48 Specific Ways to Write Better Ruby

Nonfiction, Computers, Programming, Programming Languages
Cover of the book Effective Ruby by Peter J. Jones, Pearson Education
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Peter J. Jones ISBN: 9780133847062
Publisher: Pearson Education Publication: September 8, 2014
Imprint: Addison-Wesley Professional Language: English
Author: Peter J. Jones
ISBN: 9780133847062
Publisher: Pearson Education
Publication: September 8, 2014
Imprint: Addison-Wesley Professional
Language: English

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 J. 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 sometimes 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 RubyGem dependencies
  • How to make the most of Ruby’s memory management and profiling tools
  • How to improve code efficiency by understanding the Ruby interpreter’s internals
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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 J. 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

More books from Pearson Education

Cover of the book Practical Solutions for Healthcare Management and Policy (Collection) by Peter J. Jones
Cover of the book Adobe Illustrator CS4 How-Tos by Peter J. Jones
Cover of the book The Leadership Book by Peter J. Jones
Cover of the book Interconnecting Cisco Network Devices, Part 1 (ICND1) Foundation Learning Guide by Peter J. Jones
Cover of the book Selling Blue Elephants by Peter J. Jones
Cover of the book The Photographer's MBA by Peter J. Jones
Cover of the book Developing Sustainable Business Models (Chapter 11 from Disrupt Together) by Peter J. Jones
Cover of the book How to Be an Entrepreneur by Peter J. Jones
Cover of the book The MMIX Supplement by Peter J. Jones
Cover of the book Seam Framework by Peter J. Jones
Cover of the book Leveraging SmartArt Graphics in the 2007 Microsoft Office System by Peter J. Jones
Cover of the book The Little Mac Book, Snow Leopard Edition by Peter J. Jones
Cover of the book IP Telephony Using CallManager Express Lab Portfolio by Peter J. Jones
Cover of the book Exam Ref 70-346 Managing Office 365 Identities and Requirements by Peter J. Jones
Cover of the book Android Tips and Tricks by Peter J. Jones
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy