Effective Ruby 在线电子书 图书标签: Ruby 计算机 编程 技术 Programming 2015
发表于2024-09-09
Effective Ruby 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024
大部分内容都在官方文档和通用编程书上见识过了啊。
评分大部分内容都在官方文档和通用编程书上见识过了啊。
评分大部分内容都在官方文档和通用编程书上见识过了啊。
评分还是effective的味儿,只是这本书定位微妙。有别的编程语言基础的话,这本书的前四章基本可以速读过;后面的内容虽然更加针对Ruby但是又缺些深度。不过48条里面还是能找到不少实用度高的gems的,用来快速ramp up还行。
评分Great insights in the *effective* style.
Peter J. Jones has been working professionally with Ruby since 2005. He began programming before he learned how to properly use a keyboard, after stumbling upon a Commodore 64, a few code listings, and some cassette tapes. Peter is a freelance software engineer and a senior instructor for programming related workshops taught by Devalot.com.
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
评分
评分
评分
评分
Effective Ruby 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024