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.
发表于2024-11-18
Metaprogramming Ruby (2nd edition) 2024 pdf epub mobi 电子书
此书不是基本入门书,但是想更好的应用ruby,在看完ruby基础后,应该看看此书,了解ruby真正的动态化威力。 现在感觉做DSL,最方便的就是ruby了,因为有很多内置的方法就很适合元编程。 前面两章,我看得这里的翻译,翻译的还不错,后面的就看网上的e文版,好在这本书的英文算...
评分 评分看了两遍以后 你会发现 看牛人的Code没那么难懂了~ 这是最明显的体现 其实我建议的是一开始的时候 就一边学一边练习 任何一个看不懂的技术点 都不要放过 其实打开irb 沉下心 慢慢看 没有看不懂的章节。 补充一句:我上一次挑灯夜读 手不释卷的读一本书是2010年春夏交接的事...
评分远超预期的惊喜 在出行前的一天拿到这本书,翻了几页,感觉不错,心里很有些纠结。要出远门的原因,衣物和工作设备之外的东西要尽量精简。 书籍方面反复挑拣,正在读和很想读的几本书,也都只好先放下,最后带上了这本新书和一本工作用书。 在飞机上拿起这本书后,一边读,一...
评分读完这本书觉得,什么是元编程?就是一些更强大、更灵活的技巧的集合。 跟着书中的 Bill 大师去思考,试着解决每一个问题。你会发现这里所展示的方法、技巧,就恰好是解决问题最精巧、最舒服的方式。虽然这个过程会不断的让人豁然开朗和惊叹,但又觉得一切都好像是自然而然的...
图书标签: Ruby Metaprogramming ruby Programming 编程语言 元编程 编程 程序设计
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.
几乎把ruby最重要的特性都讲解完毕
评分读过三遍,以后随用随查
评分读完fluent python之后读的,ruby提供元编程的方法比py自然。
评分行文如流水,看得實在是過癮。覺得要買本實體書了。
评分很不错的编排,毁在废话太多
Metaprogramming Ruby (2nd edition) 2024 pdf epub mobi 电子书