2009年10月28日
          posted @ 2011-03-21 11:10 Aaron.Chu 閱讀(223) | 評論 (0)編輯 收藏
          posted @ 2011-03-21 10:23 Aaron.Chu 閱讀(204) | 評論 (0)編輯 收藏
          posted @ 2011-02-22 09:37 Aaron.Chu 閱讀(214) | 評論 (0)編輯 收藏
          posted @ 2011-02-22 09:23 Aaron.Chu 閱讀(343) | 評論 (0)編輯 收藏
          posted @ 2011-02-22 09:13 Aaron.Chu 閱讀(294) | 評論 (0)編輯 收藏
          posted @ 2011-02-22 09:06 Aaron.Chu 閱讀(1294) | 評論 (0)編輯 收藏
          posted @ 2010-12-30 15:33 Aaron.Chu 閱讀(270) | 評論 (0)編輯 收藏
          posted @ 2010-12-07 10:45 Aaron.Chu 閱讀(241) | 評論 (0)編輯 收藏
          posted @ 2010-10-26 20:07 Aaron.Chu 閱讀(233) | 評論 (0)編輯 收藏
          posted @ 2010-10-24 10:37 Aaron.Chu 閱讀(1658) | 評論 (4)編輯 收藏
          posted @ 2010-10-21 09:36 Aaron.Chu 閱讀(2471) | 評論 (0)編輯 收藏
          posted @ 2010-10-18 16:36 Aaron.Chu 閱讀(1080) | 評論 (0)編輯 收藏
               摘要: 最近看了thoughtworks的精選文集,第一章就是對象健身操,定了了九條編碼規范:
          1. 方法只使用一級縮進。
          2. 拒絕使用else關鍵字。
          3. 封裝所有的原聲類型和字符串。
          4. 一行代碼只有一個‘.'運算符。
          5. 不用使用縮寫。
          6. 保持實體對象簡單清晰。
          7. 任何類中的實例變量都不要超過2個。
          8. 使用一流的集合。
          9. 不使用任何Getter/Setter/Property。  閱讀全文
          posted @ 2009-10-28 10:48 Aaron.Chu 閱讀(1625) | 評論 (0)編輯 收藏
          <2009年10月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          留言簿(5)

          隨筆檔案(57)

          相冊

          友情鏈接

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 阳朔县| 洛浦县| 永州市| 新丰县| 罗江县| 新余市| 建瓯市| 神木县| 东阿县| 阿鲁科尔沁旗| 铜山县| 佛学| 南和县| 红原县| 林口县| 闻喜县| 榆中县| 上饶县| 肇源县| 北碚区| 安图县| 建水县| 阿拉善左旗| 永和县| 清水河县| 青神县| 房产| 吴川市| 临清市| 灌阳县| 新乡县| 常德市| 潮州市| 屏山县| 昌宁县| 桐梓县| 博爱县| 阳城县| 灵石县| 德保县| 勃利县|