<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    kukooBlog

    look to the master, follow the master, walk with the master, see through the master, become the master.

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      213 隨筆 :: 0 文章 :: 285 評論 :: 0 Trackbacks
    Artima Developer的總編 Bill Venners在對Erich Gamma的一次采訪中,仔細討論了Design Pattern(設計模式)的問題。當我們做設計的時候,我們首先會想到使用設計模式。那么如何使用設計模式?如何用設計模式進行思考?是否當你解決一個問題的時候,必須要使用設計模式?

    Bill Venners將把這次訪談的內容分多次,發表在Artima Developer上。Erich Gamma的論述確實精彩,他不僅談到了當初如何進入Design Pattern這個領域的過程,也談到了在他開發JUnit的過程中,如何設計JUnit,以及如何在JUnit中使用Design Pattern。

    “I think patterns as a whole can help people learn object-oriented thinking: how you can leverage polymorphism, design for composition, delegation, balance responsibilities, and provide pluggable behavior. Patterns go beyond applying objects to some graphical shape example, with a shape class hierarchy and some polymorphic draw method. You really learn about polymorphism when you've understood the patterns. So patterns are good for learning OO and design in general.”

    “Patterns are distilled from the experiences of experts. They enable you to repeat a successful design done by someone else. By doing so you can stand on the shoulders of the experts and do not have to re-invent the wheel. ” 

    “Do not start immediately throwing patterns into a design, but use them as you go and understand more of the problem. Because of this I really like to use patterns after the fact, refactoring to patterns. ….. Trying to use all the patterns is a bad thing, because you will end up with synthetic designs—speculative designs that have flexibility that no one needs. These days software is too complex. We can't afford to speculate what else it should do. We need to really focus on what it needs. ” 

    “We didn't just string patterns together when we designed JUnit. We did it test-driven, starting with a test that we wanted to succeed and once it passed we looked into how we could improve the code. ”

    Who is Erich Gamma?(這個問題好像問的有些傻)

    《Design Patterns: Elements of Reusable Object-Oriented Software》,《Contributing to Eclipse: Principles, Patterns, and Plug-Ins》的作者之一;JUnit的作者之一;Eclipse JDT的負責人。他目前在IBM的瑞士蘇黎世OTI實驗室工作。 


    [Update]感謝的lxwde中文翻譯。



    第一次訪談的詳細內容。
    Artima Developer
    CSDN 上的中文翻譯

    Email this store to a friend (send a short email with a subject to this story)
    Subscribe to kukooBlog (subscribe kukooBlog's RSS feed)
    Send me feedback on this story

    Yourit Technorati cosmos
    Yourit Programming

    posted on 2005-05-25 18:13 kukooBlog 閱讀(2278) 評論(8)  編輯  收藏 所屬分類: Programming

    評論

    # re: 如何思考Design Pattern? 2005-06-03 15:03 lxwde
    i'll put the translation of the second part on my blog next week.

    csdn's blog is very unstable these days.  回復  更多評論
      

    # re: 如何思考Design Pattern? 2005-06-04 09:16 kukooBlog
    [To lxwde]: glad to know it. maybe you can put a comment here after you post your translation. I will include your post URL.  回復  更多評論
      

    # re: 如何思考Design Pattern? 2005-06-08 13:13 lxwde
    the first and second part are finished:

    http://blog.csdn.net/lxwde/archive/2005/05/28/382819.aspx

    http://blog.csdn.net/lxwde/archive/2005/06/06/388909.aspx

    hope it helps.
    thanks.

      回復  更多評論
      

    # re: 如何思考Design Pattern? 2005-06-08 13:35 kukooBlog
    [To lxwde]: Thank you very much for the Chinese translation. I have included your blog entries in both of my blogs.  回復  更多評論
      

    # re: 如何思考Design Pattern? 2005-06-08 13:39 kukooBlog
    [To lxwde]: The 3rd part is pulished (http://m.tkk7.com/kukoo/archive/2005/06/07/5704.html). Hope to see your translation soon.   回復  更多評論
      

    # re: 如何思考Design Pattern? 2005-07-09 10:51 lxwde
    這個系列其余部分的翻譯可以在這里找到:

    http://blog.dreambrook.com/lxwde  回復  更多評論
      

    # re: 如何思考Design Pattern? 2005-10-30 03:32 joseph.nyirenda@gmail.com
    Is there a chinese version of the GOF book?  回復  更多評論
      

    # re: 如何思考Design Pattern? 2005-11-01 17:25 zesion
    迷惑,繼續學習這方面知識  回復  更多評論
      

    主站蜘蛛池模板: a在线视频免费观看在线视频三区| 亚洲av无码专区在线电影天堂| 中文字幕乱理片免费完整的| 亚洲精品色在线网站| 在线观看免费无码专区| 国产亚洲情侣一区二区无码AV| 免费毛片毛片网址| 国产成人高清亚洲| 亚洲精品无码aⅴ中文字幕蜜桃| 久久不见久久见免费影院www日本| 亚洲五月午夜免费在线视频| 一级毛片**免费看试看20分钟| 亚洲伊人成无码综合网 | 亚洲日韩精品无码专区加勒比☆| 巨胸喷奶水视频www免费视频| 4338×亚洲全国最大色成网站| 美女无遮挡拍拍拍免费视频| 国产亚洲一区二区三区在线观看 | 特a级免费高清黄色片| 99久久国产热无码精品免费| 亚洲五月综合缴情婷婷| 国产免费拔擦拔擦8x| 国产伦精品一区二区免费| 亚洲av永久无码精品秋霞电影影院| 亚洲啪AV永久无码精品放毛片| 国产一级一片免费播放| 中国好声音第二季免费播放| 久久久久久a亚洲欧洲AV| 日韩欧美一区二区三区免费观看| 亚洲一区二区三区电影| 噼里啪啦电影在线观看免费高清 | 亚洲成AV人在线观看网址| 免费一区二区无码东京热| 亚洲女人影院想要爱| 国产最新凸凹视频免费| 美女视频黄a视频全免费网站色窝 美女被cao网站免费看在线看 | 午夜私人影院免费体验区| 精品亚洲成A人无码成A在线观看| 国语成本人片免费av无码| 人成电影网在线观看免费| 久久亚洲精品无码aⅴ大香|