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)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 周宁县| 平陆县| 崇信县| 江源县| 报价| 海丰县| 康保县| 长乐市| 安阳县| 开江县| 宜春市| 隆德县| 昌都县| 海门市| 雷州市| 金溪县| 延吉市| 临海市| 通城县| 本溪市| 乾安县| 且末县| 淮阳县| 应城市| 繁昌县| 临漳县| 鲁甸县| 温州市| 宣汉县| 庄河市| 鄢陵县| 本溪| 凤山县| 营口市| 奉贤区| 会理县| 沙河市| 遂川县| 芜湖县| 石台县| 平湖市|