FacebookTwitter

小关注了一下JSR-334

By on Dec 11, 2010 in 急急如律 | 2 comments

Share On GoogleShare On FacebookShare On Twitter

从Joe Dacy的blog里看来的:Project Coin: JSR 334 Approved

特性看起来还不错,当然都是些小改动,所以这个JSR的主题也很谦卑:Small Enhancements to the JavaTM Programming Language,估计要到JDK 7了(这是当然…)

  • Strings in switch
  • Binary integral literals and underscores in numeric literals
  • Multi-catch and more precise rethrow
  • Improved Type Inference for Generic Instance Creation (diamond)
  • try-with-resources statement
  • Simplified Varargs Method Invocation

唉,有些特性其他语言都有了。Java最近的发展是比较迟缓呐…

是以为记,凑数…

2 Comments

    • IUSR

      12/23/2010

      Post a Reply

      哎,不再敢碰C++了,总觉得会很容易做出bug来。想当初上学的时候还想着做一辈子C++了…

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.