<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 閱讀(1453) 評論(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譯為“有樣學樣”。
      回復  更多評論
      
    主站蜘蛛池模板: 四虎永久精品免费观看| 中文字幕看片在线a免费| 亚洲乱码中文字幕小综合| 亚洲老妈激情一区二区三区| 亚洲精品国产日韩无码AV永久免费网| 国产人妖ts在线观看免费视频| 午夜毛片不卡免费观看视频| 免费黄色大片网站| 免费无码一区二区三区蜜桃大| 色吊丝最新永久免费观看网站| 日韩在线免费播放| 国产精品黄页在线播放免费| 国产午夜免费福利红片| 亚洲AV无码乱码在线观看性色扶| 亚洲国产成人VA在线观看| 亚洲日本va午夜中文字幕久久| 精品国产亚洲男女在线线电影 | 亚洲色成人WWW永久网站| 亚洲精品~无码抽插| 亚洲国产成人久久综合碰碰动漫3d | 国产麻豆一精品一AV一免费| 久久国产免费观看精品| 午夜视频在线免费观看| www视频在线观看免费| 成人女人A级毛片免费软件| 精品久久久久久久免费加勒比| 国产高清在线精品免费软件| 亚洲AⅤ无码一区二区三区在线| 久久综合亚洲色HEZYO国产| 亚洲成A人片在线观看无码不卡| 亚洲激情在线观看| 亚洲午夜电影在线观看高清| 亚洲色大成WWW亚洲女子| 特级毛片免费播放| 久久国产免费观看精品| 免费精品国偷自产在线在线 | 50岁老女人的毛片免费观看| 国产精品久久久久久久久久免费 | 男女超爽刺激视频免费播放| 四虎国产精品免费久久影院| 国产自偷亚洲精品页65页|