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的采訪中的第四部分。在前三部分中,Bill和Erich討論了如何思考和使用Design Pattern靈活性以及可重用性 如何對Interface編程以及使用使用object composition而不是類繼承

          在第四部分中,Bill和Erich討論了設計模式如何與解決問題相配對,設計模式如何幫助你理解問題解決得意圖,以及如何通過練習成為一個好的設計師。

          [Update: 一些心得]:

          如何成為一個好的設計師?理解這些設計模式是不夠的,僅僅只讀完了GoF這本書也是不夠的。還需要做甚呢?你需要練習,需要看代碼,看其它好的設計師是如何設計系統的。

          In addition to reading books, you need to read and understand lots of code, see how existing systems solve a particular problem and what experienced designers did. Basically what design patterns do is to tell you what these developers have done. But, just reading about it isn't enough. You become a master by mimicking the work of excellent developers. ….. Not only do you learn about a particular development process you will also learn how to communicate about a design in a group of developers. As a good designer you not only come up with good designs you also communicate and defend them. You have to practice, like an apprentice in a way. Over time you'll become as experienced as experienced designers.

          作為一個新手,就算理解了GoF中的所有設計模式,也還是不夠的,重要的,要知道,在什么時候,什么情況下,使用什么樣的patterns。 而這往往是非常難的。 通常只有完成了之后,仔細思考自己的設計和代碼的時候才會發現需要使用某個模式,或者某一種模式使用錯了。 這個時候,就需要使用“重構”技術,來應用你覺得正確的模式。 只有練習再練習。

          記住這句話:look to the master, follow the master, walk with the master, see through the master, become the master…


          第一部分
          第二部分
          第三部分

          Yourit Technorati cosmos Refresh Technorati

          posted on 2005-06-26 17:30 kukooBlog 閱讀(912) 評論(0)  編輯  收藏 所屬分類: Programming
          主站蜘蛛池模板: 嘉义县| 惠州市| 荆门市| 诏安县| 莫力| 云龙县| 宁蒗| 靖远县| 黄山市| 清丰县| 鄱阳县| 黄梅县| 绥宁县| 深圳市| 南安市| 包头市| 甘南县| 洛浦县| 弥渡县| 新蔡县| 灵石县| 井研县| 泉州市| 保定市| 开平市| 达拉特旗| 霍城县| 社旗县| 奎屯市| 衢州市| 千阳县| 苏州市| 红安县| 福海县| 阳泉市| 吉安县| 新津县| 平武县| 陆川县| 富平县| 腾冲县|