Chinaunix首页 | 论坛 | 博客
  • 博客访问: 253836
  • 博文数量: 60
  • 博客积分: 1222
  • 博客等级: 少尉
  • 技术积分: 585
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-16 17:28
个人简介

从学通信的博士到从事IT行业的工程师 从原华为项目经理,到现任职公司架构师

文章分类

全部博文(60)

文章存档

2013年(18)

2012年(42)

我的朋友

分类: 项目管理

2012-12-23 21:08:25

本文出处[1]

...

It's certainly worthwhile for every programmer to read Design Patterns at least once, if only to learn the shared vocabulary of common patterns. But I have two specific issues with the book:

  1. Design patterns are a form of complexity. As with all complexity[肯定是复杂了,至少不直接了], I'd rather see developers focus on simpler solutions before going straight to a complex recipe of design patterns.
  2. If you find yourself frequently writing a bunch of boilerplate design pattern code to deal with a "recurring design problem", that's not good engineering-- it's a sign that your language is fundamentally broken[不同的语言有不同的应用领域,不可能同时满足所有领域要求].

In his presentation , Mark Dominus says the "Design Patterns" solution is to turn the programmer into a fancy macro processor. I don't want to put words in Mark's mouth, but I think he agrees with at least one of my criticisms. [这句话比较搞]

...


备注:Jeff Atwood是Stack Overflow和Stack Exchange Network的联合创始人

[1] http://www.codinghorror.com/blog/2007/07/rethinking-design-patterns.html

阅读(1092) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~