/**
               * as the moon sets over the early morning Merlin, Oregon
               * mountains, our intrepid adventurers type
               
          */

              
          static public Test createTest(Class<? extends TestCase> theClass, String name) {
                  Constructor
          <? extends TestCase> constructor;
                          .
                   }
          /**
               * Constructs a TestSuite from the given class. Adds all the methods
               * starting with "test" as test cases to the suite.
               * Parts of this method were written at 2337 meters in the Hueffihuette,
               * Kanton Uri
               
          */

               
          public TestSuite(final Class<? extends TestCase> theClass) {
                     
                   }
                從來沒想過注釋中也可以加入如此個性化的東西,我們整天都在爭辯到底要不要寫注釋,沒想到人家已經寫出了如此美妙的注釋。如果人人的注釋都寫成這樣,誰還會反對呢?
                從這些注釋中,我們也可以看出作者當時的心情是多么的輕松,愉悅。寫代碼對他們來說完全是一種享受,以至于能寫出如此美妙的注釋。反觀我們,寫代碼就是一種工作,都是一本正經的。難怪寫出的注釋都是千篇一律,寫了等于沒寫。
                所以歸根到底還是一個心態問題。
          posted on 2007-09-25 09:27 Aaron.Chu 閱讀(344) 評論(1)  編輯  收藏

          FeedBack:
          # re: 世界上最美的注釋
          2008-12-12 15:10 | 郁悶
          B了T了的。。。。服了。正在看該死的junit的源碼。。。。  回復  更多評論
            

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


          網站導航:
           
          <2007年9月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          30123456

          留言簿(5)

          隨筆檔案(57)

          相冊

          友情鏈接

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 贵阳市| 方城县| 绵阳市| 曲阳县| 麻栗坡县| 集贤县| 阿坝| 金坛市| 九寨沟县| 乌兰县| 时尚| 兴城市| 梅河口市| 遂川县| 永嘉县| 巴林右旗| 杭州市| 河北区| 三台县| 尉氏县| 青阳县| 明水县| 威信县| 武夷山市| 讷河市| 绥德县| 邓州市| 台南市| 桓台县| 榆树市| 普安县| 吉林省| 阜南县| 旬邑县| 房产| 大名县| 报价| 乌鲁木齐市| 宁城县| 武宁县| 扎鲁特旗|