<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譯為“有樣學樣”。
      回復  更多評論
      
    主站蜘蛛池模板: ASS亚洲熟妇毛茸茸PICS| 久久久久亚洲AV成人无码| 2020亚洲男人天堂精品| 99re6在线视频精品免费下载| 亚洲VA中文字幕无码一二三区| 中出五十路免费视频| 亚洲色偷拍另类无码专区| 黄色网站软件app在线观看免费| 国产亚洲精品看片在线观看| 两个人看的www免费视频| 情人伊人久久综合亚洲| 国产精成人品日日拍夜夜免费| 国产亚洲一区二区精品| 久久国产精品免费视频| 亚洲欧洲日产国码二区首页| www.黄色免费网站| 亚洲成av人无码亚洲成av人| xvideos亚洲永久网址| 国产乱妇高清无乱码免费| 亚洲色精品vr一区二区三区 | 四虎影库久免费视频| 久青草国产免费观看| 国产亚洲婷婷香蕉久久精品| 青草草色A免费观看在线| 亚洲精品无码aⅴ中文字幕蜜桃| 国产乱子伦精品免费无码专区| ssswww日本免费网站片| 亚洲bt加勒比一区二区| 67194成是人免费无码| 看Aⅴ免费毛片手机播放| 亚洲av无码乱码国产精品| 在线视频免费观看爽爽爽| 羞羞漫画小舞被黄漫免费| 久久综合九九亚洲一区| 毛色毛片免费观看| 久久国产美女免费观看精品 | 亚洲女女女同性video| 久久精品国产亚洲5555| 国产精品色拉拉免费看| 成人午夜免费视频| 亚洲视频免费一区|