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

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


          網站導航:
           
          主站蜘蛛池模板: 清原| 台东市| 曲靖市| 临桂县| 晋江市| 彩票| 原阳县| 安西县| 洮南市| 开封市| 东方市| 眉山市| 牟定县| 扶风县| 合江县| 阳春市| 息烽县| 遂平县| 怀宁县| 罗源县| 盐山县| 大荔县| 缙云县| 赞皇县| 富源县| 延吉市| 太谷县| 潮安县| 綦江县| 安徽省| 沙河市| 永胜县| 泰和县| 富民县| 泰兴市| 天柱县| 高阳县| 柳河县| 青田县| 当阳市| 十堰市|