
设计模式
Design Patterns
Erich Gamma、John Vlissides、Richard Helm、Ralph Johnson · 初版 1994 年
94人推荐
412位读者提及
491次提及
为什么值得读
- 能够启发思维并提升对代码的思考能力
- 其中的经验教训在多年后依然让人印象深刻
- 掌握后有助于团队协作并避免同事产生反感
四位软件设计师呈现了一份针对常见设计问题的简明解决方案目录,示例代码采用 Smalltalk 和 C++ 编写。这 23 种模式使设计人员能够构建更灵活、优雅且终极可复用的设计,而无需自行重新摸索这些设计方案。作者首先阐述了什么是模式以及它们如何协助你设计面向对象的软件,继而对面向对象系统中反复出现的设计进行了系统的命名、解释、评估与编目分类。
Hacker News 上怎么说
正在加载完整评论……
>,那本经典的《设计模式》,造成了更多惨不忍睹的过度抽象,这是对 DP 那本书的误解。这就好比说 TVTropes.com 的存在要为烂剧本负责一样……
>, the good old Design Patterns book, responsible for more atrocious over-abstracted, This is a misunderstanding of the DP book. It would be similar to saying that the existence of TVTropes.com is responsible for terrible scripts…
……《代码大全》是一本好书。《程序员修炼之道》也还可以。但在终身职业生涯的实用性上,两本书加起来都比不上《算法导论》。就这点而言,在开阔思维和提升对代码的思考能力方面,它俩也比不上《设计模式》(我是同时读的这两本,而多年之后,《设计模式》是唯一一本让我对书里的教益记忆犹新的)。我……
…Code Complete is a fine book. The Pragmatic Programmer is okay. But neither book holds a candle to Introduction to Algorithms for career-long usefulness. For that matter, neither one holds a candle to Design Patterns for the ability to expand your mind and improve your ability to think about code (I read both at the same time, and Design Patterns is the only one whose lessons I remember distinctly, years later). I…
设计模式如今在年轻人中间真的这么过时了吗,居然这里没人选《设计模式》?反正无论好坏,它是我的答案。它让我从理解面向对象进阶到理解……
Are Design Patterns really so out of fashion with the youth of today that nobody here mentions Design Patterns as their answer? Because it is mine, for better or worse. It took me from understanding OO to understanding…
佐治亚理工有一门课被我私下戏称为“确保你的同事不讨厌你”。它涵盖了设计模式、软件测试和项目管理。我还会再添上数据库的基础知识。这些东西你花上几周就能掌握真正派得上用场的知识,而如果不懂……
There is a class at Georgia Tech I colloquially referred to as "making sure your coworkers don't hate you." It covered design patterns, software testing, and project management. I'd tack on a basic knowledge of databases to that. These are things you can gain a true functional knowledge of in a couple of weeks, and which not knowing…
永远有那些经典之作:https://www.amazon.com/Design-Patterns-Elements-Reusable-Obj... https://www.amazon.com/Refactoring-Improving-Design-Existing... 补充:而且看起来那个网站完全就是在山寨抄袭这些书。
There's always the classics: https://www.amazon.com/Design-Patterns-Elements-Reusable-Obj... https://www.amazon.com/Refactoring-Improving-Design-Existing... EDIT: And it appears the website is a direct rip-off of these books.
……技术管理看弗雷德·布鲁克斯的《人月神话》。广告/营销行业看大卫·奥格威的《一个广告人的自白》。面向对象软件工程看“四人帮”的《设计模式:可复用面向对象软件的基础》。
…Man-Month by Fred Brooks for tech management. Confessions of an Advertising Man by David Ogilvy for advertising/marketing industry. Design Patterns: Elements of Reusable Object-Oriented Software by the "Gang of Four" for OOP software engineering.