<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 80,comments - 749,trackbacks - 2

    下面是從Contribuing to Eclipse這本名著上摘錄的一篇附錄,很有價值,比任何講開發方法的書或者架構模式字典都要好,單獨拿出來,與大家分享。


    Appendix: Rule


    Contribution Rule:
        Everything is a contribution

    Lazy Loading Rule:
        Contributions are only loaded when they are needed

    Sharing Rule:
        Add, don’t replace

    Conformance Rule:
        Contributions must conform to expected interfaces

    Monkey See/Monkey Do Rule:
        Always start by copying the structure of a similar plug-in

    Relevance Rule:
        Contribute only when you can successfully operate

    Safe Platform Rule:
        As the provider of an extension point, you must protect yourself against misbehavior on the part of extenders.

    Invitation Rule:
        Whenever possible, let others contribute to your contributions

    Fair Play Rule:
        All clients play by the same rules, even me.

    Explicit Extension Rule:
        Declare explicitly where a platform can be extended

    Diversity Rule:
        Extension points accept multiple extensions

    Good Fences Rule:
        When passing control outside your code, protect yourself.

    Program to API Contract Rule:
        In your contributions check and program to the Eclipse API contract.

    Integration Rule:
        Integrate, don’t separate

    Responsibility Rule:
        Clearly identify your plug-in as the source of problems.

    Explicit API Rule:
        Separate the API from internals

    Stability Rule:
        Once you invite someone to contribute, don’t change the rules

    Revelation Rule:
        Reveal the API a little at a time

    Sandbox Rule:
         Execute code under development in a separate virtual machine

    Relevance Rule:
        Contribute only when you can successfully operate

    posted on 2005-02-21 14:33 Brian Sun 閱讀(1454) 評論(4)  編輯  收藏 所屬分類: 軟件

    FeedBack:
    # re: Eclipse: Rules
    2005-02-23 06:27 | Frank
    呃......讓我想想該怎么頂哦...........  回復  更多評論
      
    # re: Eclipse: Rules
    2005-04-23 10:49 | 阿酷
    Contribute應該翻譯成什么?  回復  更多評論
      
    # re: Eclipse: Rules
    2005-04-23 10:52 | 阿酷
    Monkey See/Monkey Do 也不懂  回復  更多評論
      
    # re: Eclipse: Rules
    2005-04-23 21:23 | Brian Sun
    Contribute一般翻譯為“貢獻”,取表面意思。Monkey See/Monkey Do譯為“有樣學樣”。
      回復  更多評論
      
    主站蜘蛛池模板: 国产永久免费高清在线| 亚洲AV无码国产精品永久一区| 日本永久免费a∨在线视频| 成人毛片免费观看视频在线 | 久久国产精品萌白酱免费| 77777亚洲午夜久久多人| 久久久WWW成人免费精品| 亚洲欧洲日产国码无码久久99 | 亚洲AV无码AV男人的天堂不卡| 日本精品人妻无码免费大全 | 亚洲成AⅤ人影院在线观看| 人成午夜免费大片在线观看| 亚洲成人一区二区| 久久久WWW免费人成精品| 亚洲综合精品一二三区在线| 精品香蕉在线观看免费| 精品亚洲456在线播放| 国产小视频免费观看| 一区二区三区视频免费观看| 亚洲大尺度无码专区尤物| 57pao国产成永久免费视频| 国产日本亚洲一区二区三区| 国产精品视频免费一区二区三区 | 日本三级2019在线观看免费| 亚洲午夜无码久久久久小说| 波多野结衣中文一区二区免费| 国产成人无码免费看片软件| 亚洲精品国产成人99久久| 成人看的午夜免费毛片| 永久免费无码日韩视频| 亚洲一区二区三区日本久久九 | 波多野结衣一区二区免费视频| 拍拍拍无挡免费视频网站| 亚洲日产2021三区| 国产在线不卡免费播放| 最近免费中文字幕MV在线视频3 | 成人男女网18免费视频| 热久久这里是精品6免费观看| 亚洲嫩草影院在线观看| www.亚洲精品.com| 国产一卡2卡3卡4卡无卡免费视频|