基于 JVM 的編程語言,Kotlin 1.0 Beta 4 發布
Kotlin 是一個基于 JVM 的新的編程語言,由 JetBrains 開發。
其主要設計目標:
-
創建一種兼容Java的語言
</li> -
讓它比Java更安全,能夠靜態檢測常見的陷阱。如:引用空指針
</li> -
讓 它比Java更簡潔,通過支持variable type inference,higher-order functions (closures),extension functions,mixins and first-class delegation等實現。
</li> -
讓它比最成熟的競爭對手Scala語言更加簡單。
</li> </ul> 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:
</li>
-
Now the IDE lets you create functions from unresolved callable references:
</li>
-
</li>Go to Test
andCreate Test
actions now work for top-level functions:
-
Convert anonymous function to lambda expression intention has been added
</li>
-
</li>Go to class
andSearch everywhere
now show Kotlin built-in types
-
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
</li> </ul> 來自:http://www.oschina.net/news/69270/kotlin-1-0-beta-4
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
-