圖書標籤: Ruby Metaprogramming ruby Programming 編程語言 元編程 編程 程序設計
发表于2025-03-18
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 神書
評分讀完fluent python之後讀的,ruby提供元編程的方法比py自然。
評分深入瞭解 Ruby 元編程技術。
这本书真的很有趣。通过一个编程老手带着一个菜鸟用元编程的技术重构代码,展示了元编程的实际应用场景。同时也不失时机的指出了一些坑。用会话的方式,来增加亲切感,这种组织方式,在编程书中并不少见。重点是作者的文采真的很好,显得很有灵性,下面摘抄一段(来自4.3.1 小...
評分大四那年,考研结束后。尝试找一下ruby的书看看,在学校图书馆读到这本书,内心感受就是ruby简直就是艺术呀,同时个人就迷上语法糖,对各个语言函数式编程和lambda异常感兴趣。后来研一有自己买了ruby元编程第二版,第二次读的感受完全不仅限于ruby,是一种独立于语言的艺术享...
評分在武林中,门派林立,高手如云。 有天分,又刻苦修炼几十载,都未必能赢得一招半式,博得蜗角微名。 但总有一些人,年纪轻轻,便得秘籍,不过数日之研习,几月之感悟,便融会贯通,傲视群雄,威震天下。 每每念及此处,总让天下英雄心痒。 如张无忌之《九阳神功》,令狐冲之《...
評分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