图书标签: Ruby Metaprogramming ruby Programming 编程语言 元编程 编程 程序设计
发表于2024-12-25
Metaprogramming Ruby (2nd edition) pdf epub mobi txt 电子书 下载 2024
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.
读完fluent python之后读的,ruby提供元编程的方法比py自然。
评分读过三遍,以后随用随查
评分二刷卡住啃不动了。。。=.=一定是我的打开方式不对。
评分Ruby程序员必读,也推荐给非Ruby人群,相对元编程这个抢眼的标题,不如说里面的Ruby对象模型是精髓中的精髓,而且能体会到其设计中简洁的美感。要做到把里面大多数的技巧融会贯通到日常使用中,可能要多练习多思考,花些时间才行。
评分读过三遍,以后随用随查
很薄的一本,但是把Ruby的高级特性介绍的很透,并且附带了大量的例子和真实中的代码进行讲解,深入浅出。我在给公司做Ruby的技术分享的时候,多亏这本书,帮我将高级的这些特性,以更容易懂的方式表现出来,并吸引了一批人对Ruby这个Sexy的语言的关注。
评分什么叫“元”编程?我的理解就是“编程的编程”。如果你觉得陌生,那么就想想有人第一次告诉你还存在“类型的类型”这个东西。 这本书讲的都是ruby的高级特性。在看之前我其实只有python的经验,对ruby并不熟悉,但我还是在这本书中看到了许多和python相通的东西。 在这本书...
评分 评分很薄的一本,但是把Ruby的高级特性介绍的很透,并且附带了大量的例子和真实中的代码进行讲解,深入浅出。我在给公司做Ruby的技术分享的时候,多亏这本书,帮我将高级的这些特性,以更容易懂的方式表现出来,并吸引了一批人对Ruby这个Sexy的语言的关注。
评分看了两遍以后 你会发现 看牛人的Code没那么难懂了~ 这是最明显的体现 其实我建议的是一开始的时候 就一边学一边练习 任何一个看不懂的技术点 都不要放过 其实打开irb 沉下心 慢慢看 没有看不懂的章节。 补充一句:我上一次挑灯夜读 手不释卷的读一本书是2010年春夏交接的事...
Metaprogramming Ruby (2nd edition) pdf epub mobi txt 电子书 下载 2024