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

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

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

    posts - 7,  comments - 11,  trackbacks - 0

    source: javauc   archives

    I’ll start with a confession: I’m a unit testing addict. In fact, I
    just can’t write enough unit tests. If I’m developing for long stretches
    of time without having written corresponding unit tests, I get
    the jitters. Unit tests give me the confidence that my code works and
    that I can change it, at a moment’s notice, without the fear of it
    breaking.

    Furthermore, as an addict, I tend to write a plethora of test cases. My high,
    however, isn’t from writing the test cases; it’s in seeing
    their results. Consequently, if I can write the tests in a rapid manner,
    I can view their results quicker. That way I feel better. Quicker.

    No more Java purism!

    Before I launch into the practical aspects of unit testing with Groovy, I think it’s important to talk about the more general issue of its place in your development toolbox. The fact is, Groovy isn’t the only scripting language that runs on the Java Runtime Environment (JRE), it’s just the only one that has been proposed as a standard language for the Java platform. As some of you will have learned from the alt.lang.jreseries (see Resources), there are myriad options when it comes to scripting for the Java platform, most of them presenting highly agile environments for rapid application development.

    Despite this abundance of choices, many developers choose to stick with their favorite and most-familiar paradigm: the Java language. While Java programming is a fine choice for most situations, there is one very important shortcoming to wearing Java-only blinders. As a wise person once put it: If the only tool you have is a hammer, you tend to see every problem as a nail. I think there’s a lot of truth to this saying that is applicable to software development.

    Just as I hope to convince you with this series that the Java
    language is not and should not be your only choice for developing
    applications, it’s also true that scripting languages make sense in some
    scenarios and not in others. What separates the professional from the
    tyro is knowing when to apply the power of scripting and
    when to eschew it.

    posted on 2010-05-14 21:55 sonicluo3 閱讀(141) 評論(0)  編輯  收藏

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


    網站導航:
     
    主站蜘蛛池模板: 亚洲AV永久无码精品网站在线观看| 亚洲国产成人无码av在线播放| 亚洲欧美国产欧美色欲| 亚洲国产成人精品无码区花野真一 | 久久亚洲精品国产亚洲老地址| 5g影院5g天天爽永久免费影院| 全免费a级毛片免费看不卡 | 亚洲精品一卡2卡3卡四卡乱码| 男人的好看免费观看在线视频| 狠狠亚洲婷婷综合色香五月排名| 亚洲免费视频观看| 18禁网站免费无遮挡无码中文| 久久精品国产亚洲AV久| 暖暖免费高清日本中文| 亚洲综合久久久久久中文字幕| 最近中文字幕完整免费视频ww| 又爽又高潮的BB视频免费看| 亚洲国产日韩在线人成下载| 男人的好看免费观看在线视频| 亚洲AV无码一区二区三区牲色 | 无码国产精品一区二区免费| 亚洲 日韩 色 图网站| yy6080久久亚洲精品| 亚洲制服丝袜一区二区三区| 成人免费的性色视频| 国产精品亚洲av色欲三区| 日本视频一区在线观看免费| 亚洲色偷偷综合亚洲AV伊人蜜桃| 免费国产a国产片高清网站| a级片免费在线播放| 亚洲乱码国产一区网址| 亚洲AV无码国产一区二区三区 | 国产日产成人免费视频在线观看| 一区在线免费观看| 免费观看午夜在线欧差毛片| 韩国免费a级作爱片无码| 亚洲国色天香视频| 18国产精品白浆在线观看免费| 久久精品国产亚洲av品善| 中文字幕精品亚洲无线码二区| 亚洲免费人成视频观看|