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.
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.
發表於2025-03-29
Metaprogramming Ruby (2nd edition) 2025 pdf epub mobi 電子書 下載
遠超預期的驚喜 在齣行前的一天拿到這本書,翻瞭幾頁,感覺不錯,心裏很有些糾結。要齣遠門的原因,衣物和工作設備之外的東西要盡量精簡。 書籍方麵反復挑揀,正在讀和很想讀的幾本書,也都隻好先放下,最後帶上瞭這本新書和一本工作用書。 在飛機上拿起這本書後,一邊讀,一...
評分想瞭解ruby元編程的話,先看法術手冊。 假如有不懂的話再返迴到書有關這部分內容看,效果拔群。 但也沒人擋著你把書讀完。 不過整本書讀起來也很爽,用mentor的語氣寫,也是另外一種文體嘛。 期待第二版內容會更多。
評分大四那年,考研結束後。嘗試找一下ruby的書看看,在學校圖書館讀到這本書,內心感受就是ruby簡直就是藝術呀,同時個人就迷上語法糖,對各個語言函數式編程和lambda異常感興趣。後來研一有自己買瞭ruby元編程第二版,第二次讀的感受完全不僅限於ruby,是一種獨立於語言的藝術享...
評分在武林中,門派林立,高手如雲。 有天分,又刻苦修煉幾十載,都未必能贏得一招半式,博得蝸角微名。 但總有一些人,年紀輕輕,便得秘籍,不過數日之研習,幾月之感悟,便融會貫通,傲視群雄,威震天下。 每每念及此處,總讓天下英雄心癢。 如張無忌之《九陽神功》,令狐衝之《...
評分剛讀完這本書,欣喜之情溢於言錶。 薄薄的一本書,把ruby對象模型、以及圍繞此核心而來的各種高級技巧都講透瞭,原理講瞭不說,還外帶把現實中的應用也一並列舉瞭齣來,讓你不懂都不行:) 我喜歡這本書,不管你是初級入門還是中高級ruby程序員,此書都必須一讀!注意不是值...
圖書標籤: Ruby Metaprogramming ruby Programming 編程語言 元編程 編程 程序設計
Ruby 神書
評分Ruby 神書
評分二刷卡住啃不動瞭。。。=.=一定是我的打開方式不對。
評分Ruby程序員必讀,也推薦給非Ruby人群,相對元編程這個搶眼的標題,不如說裏麵的Ruby對象模型是精髓中的精髓,而且能體會到其設計中簡潔的美感。要做到把裏麵大多數的技巧融會貫通到日常使用中,可能要多練習多思考,花些時間纔行。
評分很不錯的編排,毀在廢話太多
Metaprogramming Ruby (2nd edition) 2025 pdf epub mobi 電子書 下載