圖書標籤: Ruby MetaProgramming 編程 Programming 程序設計 計算機 ruby metaprogramming
发表于2025-02-02
Metaprogramming Ruby pdf epub mobi txt 電子書 下載 2025
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 component of Ruby. Once you understand the principles of Ruby, including the object model, scopes, and eigenclasses, you're on your way to applying metaprogramming both in your daily work and in your fun, after-hours projects.
Learning metaprogramming doesn't have to be difficult or boring. By taking you on a Monday-through-Friday workweek adventure with a pair of programmers, Paolo Perrotta helps make mastering the art of metaprogramming both straightforward and entertaining.
Paolo Perrotta has more than ten years of experience as a developer and writer. He worked for domains ranging from embedded to enterprise software, computer games, and web applications. These days, Paolo coaches agile teams for Yoox, a large Internet fashion shop, and teaches Java to developers throughout Europe. He lives in Bologna, Italy, with his girlfriend and a cat. He loves Ruby.
非常適閤已經能夠完成一些Ruby項目,需要深入理解Ruby的用戶
評分看完前四章,大緻瞭解瞭它的對象模型瞭。後麵的應用部分不看瞭,反正也不打算用ruby。確實用lua來實現這套模型是可以的(lua根本就沒有OO模型…),不過lua沒有多少語法糖,調用函數一定要加個(),實現DSL怎麼也不如ruby漂亮。其實也不喜歡內部DSL,一來語法受限,不如外部DSL使用parser的靈活,二來犧牲瞭運行效率,沒法對代碼做靜態檢查和優化。用外部DSL就可以兼顧兩者,雖然實現起來麻煩一些
評分簡單的一點點東西, 硬是給作者弄得那麼長. 可能對於初學者有用吧. 反正我覺得很多讀書時間浪費掉瞭. 讀書筆記 http://blog.linjunhalida.com/article/Metaprogramming_Ruby%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0
評分Essential Ruby reading, since meta-programming is essential building block of ruby
評分再看一遍受益匪淺
看了两遍以后 你会发现 看牛人的Code没那么难懂了~ 这是最明显的体现 其实我建议的是一开始的时候 就一边学一边练习 任何一个看不懂的技术点 都不要放过 其实打开irb 沉下心 慢慢看 没有看不懂的章节。 补充一句:我上一次挑灯夜读 手不释卷的读一本书是2010年春夏交接的事...
評分想了解ruby元编程的话,先看法术手册。 假如有不懂的话再返回到书有关这部分内容看,效果拔群。 但也没人挡着你把书读完。 不过整本书读起来也很爽,用mentor的语气写,也是另外一种文体嘛。 期待第二版内容会更多。
評分 評分读完这本书觉得,什么是元编程?就是一些更强大、更灵活的技巧的集合。 跟着书中的 Bill 大师去思考,试着解决每一个问题。你会发现这里所展示的方法、技巧,就恰好是解决问题最精巧、最舒服的方式。虽然这个过程会不断的让人豁然开朗和惊叹,但又觉得一切都好像是自然而然的...
Metaprogramming Ruby pdf epub mobi txt 電子書 下載 2025