图书标签: Ruby 面向对象 OOD Programming 计算机 重构 编程艺术 编程
发表于2025-02-04
Practical Object-Oriented Design in Ruby pdf epub mobi txt 电子书 下载 2025
Years after the initial release of Ruby on Rails, the chickens are coming home to roost. Suddenly, anyone could write a web application -- and it seems like everyone did. The web is now awash in Ruby applications that were easy to write but are now virtually impossible to change, extend, or grow. This book solves that problem by teaching developers real-world object oriented design techniques specifically focused on Ruby. Writing for Ruby developers at all levels of experience, Sandi Metz shares knowledge and concrete solutions for creating more extensible, more maintainable applications - and for fixing many of the poorly designed applications they must now manage. The first book to focus squarely on object-oriented Ruby application design, Practical Object Oriented Design in Ruby will guide developers to superior outcomes, even if their previous experience has been strictly limited to "procedural" techniques. Metz distills a lifetime of conversations about object-oriented design and many years of whiteboard drawings into a set of specific Ruby practices and patterns that lead to more manageable and pleasing code. Novice Ruby programmers will find specific "rules to live by"; intermediate Ruby programmers will find valuable principles they can flexibly interpret and apply; and advanced Ruby programmers will find a common language they can use to lead development and guide their colleagues.
涉及了Ruby中用到的OO技术,Duck Typing, Classical Inheritance, Mix in with Modules, Compsition,技巧性的东西不多,注重基础。
评分清晰阐明如何认识及应对变化,将编程上升到艺术的境界
评分除了原版作者行文过于拗口致使阅读进度极其缓慢以外,这还真是一本往后每年都会翻出来细看章节的经典教材。
评分前面的部分还是老生常谈的问题,最后一章谈测试比较有料
评分虽说是面向对象 真正设计的是对象的消息,不同对象之间如何用这些消息交互 设计最主要的目的是去降低改动的成本 改动一段代码对所有依赖它的地方都可能有影响 所以要尽量减小不必要的依赖
原书是经典。本书翻译还算通畅,但是有一些词和句子翻译的不像人话,影响了阅读和理解,部分句子感觉像机器翻译。 出现了两次错印 181页 和 183页 都印了两次。 几年之后我重新读此书,还是很有收获,不过后面几章那读起来不像中文的翻译,真得让我想骂人,难道技术书籍也要搞...
评分原书是经典。本书翻译还算通畅,但是有一些词和句子翻译的不像人话,影响了阅读和理解,部分句子感觉像机器翻译。 出现了两次错印 181页 和 183页 都印了两次。 几年之后我重新读此书,还是很有收获,不过后面几章那读起来不像中文的翻译,真得让我想骂人,难道技术书籍也要搞...
评分原书是经典。本书翻译还算通畅,但是有一些词和句子翻译的不像人话,影响了阅读和理解,部分句子感觉像机器翻译。 出现了两次错印 181页 和 183页 都印了两次。 几年之后我重新读此书,还是很有收获,不过后面几章那读起来不像中文的翻译,真得让我想骂人,难道技术书籍也要搞...
评分原书是经典。本书翻译还算通畅,但是有一些词和句子翻译的不像人话,影响了阅读和理解,部分句子感觉像机器翻译。 出现了两次错印 181页 和 183页 都印了两次。 几年之后我重新读此书,还是很有收获,不过后面几章那读起来不像中文的翻译,真得让我想骂人,难道技术书籍也要搞...
评分原书是经典。本书翻译还算通畅,但是有一些词和句子翻译的不像人话,影响了阅读和理解,部分句子感觉像机器翻译。 出现了两次错印 181页 和 183页 都印了两次。 几年之后我重新读此书,还是很有收获,不过后面几章那读起来不像中文的翻译,真得让我想骂人,难道技术书籍也要搞...
Practical Object-Oriented Design in Ruby pdf epub mobi txt 电子书 下载 2025