posts - 37,comments - 7,trackbacks - 0
          1. Identify the aspects of your application thar vary and separate them from what stays the same.
          2. Program to an interface, not an implementation.
          3. Favor composition over inheritance.
          4. Strive for loosely coupled designs between objects that interface.
          5. Classes should be open for extension, but closed for modification.
          6. Depend upon abstractions. Do not depend upon concrete classes.
          7. Principle of  Least Knowledge - talk only to your immediate friends.
          8. The Hollywood Principle - Don't call us, we'll call you.
          9. A class should have only one reason to change.
          posted on 2005-08-11 09:29 Dave 閱讀(116) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 错那县| 宝清县| 全州县| 青岛市| 开化县| 大方县| 平谷区| 信宜市| 孙吴县| 会同县| 若羌县| 兰西县| 广丰县| 全椒县| 永州市| 怀集县| 广安市| 广东省| 寻乌县| 镇平县| 黄浦区| 东阳市| 青冈县| 镇宁| 湟中县| 江川县| 舞钢市| 北辰区| 中江县| 靖江市| 江源县| 河源市| 扎赉特旗| 阿合奇县| 龙南县| 德保县| 策勒县| 巴林左旗| 蓝山县| 望谟县| 独山县|