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

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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 巴彦县| 札达县| 揭东县| 陇川县| 永胜县| 永安市| 伊宁县| 乐昌市| 乌兰浩特市| 镇雄县| 通河县| 沂源县| 永寿县| 山东省| 宝丰县| 大英县| 英超| 孝义市| 阿拉善右旗| 灌南县| 武隆县| 疏附县| 盈江县| 博野县| 化隆| 昆明市| 马山县| 全南县| 邢台市| 平塘县| 阜阳市| 时尚| 花垣县| 延寿县| 宁陵县| 石河子市| 阳谷县| 秀山| 海伦市| 兴安县| 陇西县|