<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无码成人精品区天堂| eeuss草民免费| 亚洲国产精品va在线播放 | 亚洲永久在线观看| 国产大片线上免费观看| 亚洲国产日韩精品| 成人免费视频软件网站| 亚洲AV色欲色欲WWW| 日韩精品成人亚洲专区| 特级毛片在线大全免费播放| 亚洲精品线路一在线观看| 一级毛片在播放免费| 最新精品亚洲成a人在线观看| 中文字幕成人免费高清在线| 亚洲精品乱码久久久久久| 无码成A毛片免费| 亚洲高清无在码在线无弹窗| 日本免费网站视频www区| 亚洲粉嫩美白在线| 亚洲成av人片一区二区三区 | 中文字幕无码播放免费| 中文字幕无码精品亚洲资源网久久| 午夜成年女人毛片免费观看| 国产精品亚洲精品爽爽| 一本久久a久久精品亚洲| 少妇太爽了在线观看免费视频| 亚洲国产成人综合| 免费一级国产生活片| 中国一级毛片视频免费看| 亚洲视频在线观看网站| 日本免费高清一本视频| 中文字幕手机在线免费看电影| 亚洲图片中文字幕| 免费在线观看日韩| 日韩免费人妻AV无码专区蜜桃 | 亚洲精品成人片在线观看精品字幕 | 亚洲爆乳成av人在线视菜奈实| 久久精品夜色噜噜亚洲A∨| 3344永久在线观看视频免费首页|