日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Rethinking Design Patterns - from Jeff Atwood

發布時間:2023/12/19 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Rethinking Design Patterns - from Jeff Atwood 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

本文出處[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:

  • 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.
  • 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 "Design Patterns" Aren't[2], 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

    [2] http://perl.plover.com/yak/design/samples/

    轉載于:https://www.cnblogs.com/hanhuilee/archive/2012/12/19/5221416.html

    總結

    以上是生活随笔為你收集整理的Rethinking Design Patterns - from Jeff Atwood的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。