1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Kotlin 1.0 Beta 2 发布,基于 JVM 的编程语言 下载

本帖由 漂亮的石头2015-11-17 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,336
    赞:
    47
    Kotlin 1.0 Beta 2 发布,此版本主要是 bug 修复和标准库方面的改进。


    • 语言方面改进:类型参数强制约束 single-instantiation inheritance;改进 Diagnostics;改进编译器


    • 库改进:为标准库清理了 APIs


    • 新文档生成工具 Dokka

    此外还有 IDE 方面的改进:


    • Completion now works for Java static members and members of objects. Just press Ctrl+Space for the second time:
      [​IMG]


    • Completion inside string templates has been added. For using it type "$name."
      [​IMG]


    • Now we can choose exact position of a breakpoint while debugging expressions with lambdas:
      [​IMG]


    • And finally, a bunch of intention actions have been added for importing Java statics, object members and enum entries. And there is an analogous one to*-importstatic members from Java classes or entries from enum classes
      [​IMG]

    更多内容请看发行说明

    Kotlin 是一个基于 JVM 的新的编程语言,由 JetBrains 开发。

    其主要设计目标:


    • 创建一种兼容Java的语言


    • 让它比Java更安全,能够静态检测常见的陷阱。如:引用空指针


    • 让 它比Java更简洁,通过支持variable type inference,higher-order functions (closures),extension functions,mixins and first-class delegation等实现。


    • 让它比最成熟的竞争对手Scala语言更加简单。
    Kotlin 1.0 Beta 2 发布,基于 JVM 的编程语言下载地址
     
正在加载...