Russ Olsen has been building software for more than twenty-five years. He has led projects through several generations of programming technologies, from FORTRAN to C to C++ to Java, and now Ruby. He has been using and teaching Ruby since 2002. Olsen writes the popular technology blog Technology As If People Mattered (http://www.russolsen.com).
Praise for Design Patterns in Ruby
"Design Patterns in Ruby documents smart ways to resolve many problems that Ruby developers commonly encounter. Russ Olsen has done a great job of selecting classic patterns and augmenting these with newer patterns that have special relevance for Ruby. He clearly explains each idea, making a wealth of experience available to Ruby developers for their own daily work."
—Steve Metsker, Managing Consultant with Dominion Digital, Inc.
"This book provides a great demonstration of the key 'Gang of Four' design patterns without resorting to overly technical explanations. Written in a precise, yet almost informal style, this book covers enough ground that even those without prior exposure to design patterns will soon feel confident applying them using Ruby. Olsen has done a great job to make a book about a classically 'dry' subject into such an engaging and even occasionally humorous read."
—Peter Cooper
"This book renewed my interest in understanding patterns after a decade of good intentions. Russ picked the most useful patterns for Ruby and introduced them in a straightforward and logical manner, going beyond the GoF's patterns. This book has improved my use of Ruby, and encouraged me to blow off the dust covering the GoF book."
—Mike Stok
"Design Patterns in Ruby is a great way for programmers from statically typed objectoriented languages to learn how design patterns appear in a more dynamic, flexible language like Ruby."
—Rob Sanheim, Ruby Ninja, Relevance
Most design pattern books are based on C++ and Java. But Ruby is different—and the language's unique qualities make design patterns easier to implement and use. In this book, Russ Olsen demonstrates how to combine Ruby's power and elegance with patterns, and write more sophisticated, effective software with far fewer lines of code.
After reviewing the history, concepts, and goals of design patterns, Olsen offers a quick tour of the Ruby language—enough to allow any experienced software developer to immediately utilize patterns with Ruby. The book especially calls attention to Ruby features that simplify the use of patterns, including dynamic typing, code closures, and "mixins" for easier code reuse.
Fourteen of the classic "Gang of Four" patterns are considered from the Ruby point of view, explaining what problems each pattern solves, discussing whether traditional implementations make sense in the Ruby environment, and introducing Ruby-specific improvements. You'll discover opportunities to implement patterns in just one or two lines of code, instead of the endlessly repeated boilerplate that conventional languages often require.
Design Patterns in Ruby also identifies innovative new patterns that have emerged from the Ruby community. These include ways to create custom objects with metaprogramming, as well as the ambitious Rails-based "Convention Over Configuration" pattern, designed to help integrate entire applications and frameworks.
Engaging, practical, and accessible, Design Patterns in Ruby will help you build better software while making your Ruby programming experience more rewarding.
对设计模式讲得比较浅,适合有设计模式经验的Ruby初学者看看。给我印象最深的是作者一直在表达一种观点,“你不可能用到它”,很有道理。
評分这本书内容不错,但是译者的水平不高,态度也不认真。前后翻译不统一的地方比比皆是,还有胡乱翻译造成理解上出现偏差。比如6.2节“that is, the simple, indivisible building blocks of the process”中“indivisible building blocks of the process”翻译为“单体模块”。...
評分对设计模式讲得比较浅,适合有设计模式经验的Ruby初学者看看。给我印象最深的是作者一直在表达一种观点,“你不可能用到它”,很有道理。
評分AW出版社的这套pro ruby系列丛书都是精品。编辑Obie自身是奋斗在生产第一线的大牛,当年一本the rails way把rails分析的入木三分。 这本书总共讲了14个经典的设计模式,相比于GoF里面的描写,具体生动许多,言简意赅。ruby中这些模式的变化也写的很好。 硬挑骨头的话,最后那...
評分介绍了几种常用的设计模式,结合ruby的实现,有助于ruby的学习。 有机会要再看看,将设计模式灵活运用到实践工作中。 书评到底要多长啊。 介绍了几种常用的设计模式,结合ruby的实现,有助于ruby的学习。 有机会要再看看,将设计模式灵活运用到实践工作中。 书评到底要多长啊。
關鍵在於迭代中反復體會。
评分打開瞭工具箱。 中文版找不到,於是讀英文版,英文也沒有那麼難讀嘛,以後盡量讀英文。 如果對Python和Ruby比較熟悉的話,用這本書入門設計模式還是蠻好的。
评分翻譯還是有不少毛病,內容上,還是沒讓我滿意,太淺瞭……
评分翻譯還是有不少毛病,內容上,還是沒讓我滿意,太淺瞭……
评分14個設計模型,從老的到新的,從錯誤使用到已有設計,從核心問題到解決思路,講的都很詳細,淺顯易懂。
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有