<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 :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
      213 隨筆 :: 0 文章 :: 285 評(píng)論 :: 0 Trackbacks
    Artima Developer的總編 Bill Venners在對(duì)Erich Gamma的一次采訪中,仔細(xì)討論了Design Pattern(設(shè)計(jì)模式)的問題。當(dāng)我們做設(shè)計(jì)的時(shí)候,我們首先會(huì)想到使用設(shè)計(jì)模式。那么如何使用設(shè)計(jì)模式?如何用設(shè)計(jì)模式進(jìn)行思考?是否當(dāng)你解決一個(gè)問題的時(shí)候,必須要使用設(shè)計(jì)模式?

    Bill Venners將把這次訪談的內(nèi)容分多次,發(fā)表在Artima Developer上。Erich Gamma的論述確實(shí)精彩,他不僅談到了當(dāng)初如何進(jìn)入Design Pattern這個(gè)領(lǐng)域的過程,也談到了在他開發(fā)JUnit的過程中,如何設(shè)計(jì)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?(這個(gè)問題好像問的有些傻)

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


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



    第一次訪談的詳細(xì)內(nèi)容。
    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 閱讀(2283) 評(píng)論(8)  編輯  收藏 所屬分類: Programming

    評(píng)論

    # 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.  回復(fù)  更多評(píng)論
      

    # 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.  回復(fù)  更多評(píng)論
      

    # 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.

      回復(fù)  更多評(píng)論
      

    # 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.  回復(fù)  更多評(píng)論
      

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

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

    http://blog.dreambrook.com/lxwde  回復(fù)  更多評(píng)論
      

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

    # re: 如何思考Design Pattern? 2005-11-01 17:25 zesion
    迷惑,繼續(xù)學(xué)習(xí)這方面知識(shí)  回復(fù)  更多評(píng)論
      

    主站蜘蛛池模板: 国产成人高清精品免费观看| 天天爽亚洲中文字幕| 免费无码国产V片在线观看| 精品久久免费视频| 亚洲熟女www一区二区三区| 在线天堂免费观看.WWW| 亚洲男人天堂2018av| 成人毛片免费在线观看| 亚洲AV无码专区在线观看成人 | 亚洲午夜福利在线观看| 女人隐私秘视频黄www免费| 亚洲午夜国产精品无码| 日韩精品内射视频免费观看| 91情国产l精品国产亚洲区| 在线观看H网址免费入口| 在线观看亚洲AV日韩AV| 又色又污又黄无遮挡的免费视| 国产亚洲精品免费| 亚洲精品亚洲人成在线观看| 久久精品私人影院免费看| 亚洲日本视频在线观看| 女人18毛片水真多免费看| 日日躁狠狠躁狠狠爱免费视频| 亚洲一区精品伊人久久伊人| 成人无码WWW免费视频| 亚洲国产成人久久三区| 韩国日本好看电影免费看| 一级毛片免费在线| 久久久久亚洲AV无码麻豆| 免费黄色app网站| 中文在线观看永久免费| 亚洲精品在线播放| vvvv99日韩精品亚洲| 午夜免费福利片观看| 亚洲乱码av中文一区二区| 亚洲自偷自偷图片| 亚洲免费网站观看视频| 美女扒开屁股让男人桶爽免费| 亚洲AV午夜福利精品一区二区| 毛片在线免费视频| 你懂得的在线观看免费视频|