基于 JVM 的编程语言,Kotlin 1.0 Beta 4 发布

jopen 8年前

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 4 发布,主要更新集中在以下几方面:

Improved incremental compilation (Experimental)

Language

Library changes

What’s new in the IDE

  • Quick-fix for renaming unresolved references was added. It’s handy for adjusting symbols’ names when pasting some code to a different context:
    基于 JVM 的编程语言,Kotlin 1.0 Beta 4 发布

  • Now the IDE lets you create functions from unresolved callable references:
    基于 JVM 的编程语言,Kotlin 1.0 Beta 4 发布

  • Go to Test and Create Test actions now work for top-level functions:
    基于 JVM 的编程语言,Kotlin 1.0 Beta 4 发布

  • Convert anonymous function to lambda expression intention has been added
    基于 JVM 的编程语言,Kotlin 1.0 Beta 4 发布

  • Go to class and Search everywhere now show Kotlin built-in types
    基于 JVM 的编程语言,Kotlin 1.0 Beta 4 发布

  • In debugger: option ‘Skip simple getters’ is now supported, which means that debugger won’t stop at properties defined in constructors, properties without getters or whose getters that return the value of some field

完整更新请看:here发行说明

来自:http://www.oschina.net/news/69270/kotlin-1-0-beta-4