图书标签: Ruby Metaprogramming ruby Programming 编程语言 元编程 编程 程序设计
发表于2025-02-02
Metaprogramming Ruby (2nd edition) pdf epub mobi txt 电子书 下载 2025
Dig under the surface and explore Ruby’s most advanced feature: a collection of techniques and tricks known as metaprogramming. In this book, you’ll learn metaprogramming as an essential component of Ruby and discover the deep, non-obvious details of the language. Once you understand the tenets of Ruby, including the object model, scopes, and singleton classes, you’re on your way to applying metaprogramming both in your daily work assignments and in your fun, after-hours projects.
Metaprogramming Ruby, Second Edition makes mastering the language enjoyable. The book is packed with:
Pragmatic examples of metaprogramming in action, many of which come straight from real-life gems such as Rails.
Programming challenges that let you experiment and play with some of the most out-there metaprogramming concepts.
Metaprogramming “spells”—33 practical recipes and idioms that you can study and apply right now, to write code that is sure to impress.
This completely revised new edition covers the new features in Ruby 2.0 and 2.1, and contains code from the latest Ruby libraries, including Rails 4. Most examples are new, “from the wild,” with more recent libraries. And the book reflects current ideas of when and how much metaprogramming you should use.
Whether you’re a Ruby apprentice on the path to mastering the language or a Ruby wiz in search of new tips, this book is for you.
Paolo Perrotta has fifteen years of experience as a developer, ranging from embedded to enterprise software, computer games, and web applications. Paolo lives a nomadic life, mentoring agile teams throughout Europe. He has a base camp in Bologna, Italy. He loves Ruby.
读得好爽快>_<
评分几乎把ruby最重要的特性都讲解完毕
评分Ruby程序员必读,也推荐给非Ruby人群,相对元编程这个抢眼的标题,不如说里面的Ruby对象模型是精髓中的精髓,而且能体会到其设计中简洁的美感。要做到把里面大多数的技巧融会贯通到日常使用中,可能要多练习多思考,花些时间才行。
评分很不错的编排,毁在废话太多
评分Ruby程序员必读,也推荐给非Ruby人群,相对元编程这个抢眼的标题,不如说里面的Ruby对象模型是精髓中的精髓,而且能体会到其设计中简洁的美感。要做到把里面大多数的技巧融会贯通到日常使用中,可能要多练习多思考,花些时间才行。
这本书真的很有趣。通过一个编程老手带着一个菜鸟用元编程的技术重构代码,展示了元编程的实际应用场景。同时也不失时机的指出了一些坑。用会话的方式,来增加亲切感,这种组织方式,在编程书中并不少见。重点是作者的文采真的很好,显得很有灵性,下面摘抄一段(来自4.3.1 小...
评分在武林中,门派林立,高手如云。 有天分,又刻苦修炼几十载,都未必能赢得一招半式,博得蜗角微名。 但总有一些人,年纪轻轻,便得秘籍,不过数日之研习,几月之感悟,便融会贯通,傲视群雄,威震天下。 每每念及此处,总让天下英雄心痒。 如张无忌之《九阳神功》,令狐冲之《...
评分刚读完这本书,欣喜之情溢于言表。 薄薄的一本书,把ruby对象模型、以及围绕此核心而来的各种高级技巧都讲透了,原理讲了不说,还外带把现实中的应用也一并列举了出来,让你不懂都不行:) 我喜欢这本书,不管你是初级入门还是中高级ruby程序员,此书都必须一读!注意不是值...
评分作为一名JavaScript 开发者,在看本书的过程中每看到一个元编程技巧,都会忍不住将两种语言作一番比较和联想:在JavaScript 可以应用这种技巧吗?可以的话,这种技巧应用得广泛吗? 某程度上JavaScript 比Ruby 更灵活,所以大部分技巧在JavaScript 都可以轻松实现。 动态方法 ...
评分Everyone in the Ruby world seems to be talking about metaprogramming--how you can use it to remove duplication in your code and write elegant, beautiful programs. Now you can get in on the action as well. This book describes metaprogramming as an essential ...
Metaprogramming Ruby (2nd edition) pdf epub mobi txt 电子书 下载 2025