V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jiyinyiyong
V2EX  ›  分享发现

"The March of Progress"看到人吐槽分号结尾这个东西

  •  
  •   jiyinyiyong · 2012-05-12 21:56:25 +08:00 · 2553 次点击
    这是一个创建于 4369 天前的主题,其中的信息可能已经有所发展或是发生改变。
    分号的 28 年啊. 虽然省略了分号的语言不少, 但使用率都比不过.

    ------

    1980: C
    printf("%10.2f", x);

    1988: C++
    cout << setw(10) << setprecision(2) << showpoint << x;

    1996: Java
    .. 太长, 还是点链接看吧
    http://alan.dipert.org/post/153430634/the-march-of-progress

    2004: Java
    System.out.printf("%10.2f", x);

    2008: Scala and Groovy
    printf("%10.2f", x)

    ------
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1911 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 16:22 · PVG 00:22 · LAX 09:22 · JFK 12:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.