The team behind Project Kotlin has a new milestone release, an open source website and new documentation.
Kotlin, the open source alternative to Java which has been under development by JetBrains since 2010 has reached M8. Much of the work on this release has been to improve Kotlin's overall performance and it also features reflection for properties.
Announcing the new release on the Kotlin blog, Hadi Hariri says this is “a first peek into the future reflective capabilities of Kotlin”, and that it means you can now access properties as first-class objects in Kotlin.
The team is planning to develop reflection capabilities further in the next few months, with an ultimate goal of providing framework writers with really powerful tools for their needs. The blog post says that things on the agenda include proper Kotlin class introspection, making types available through reflection, bringing reflection capabilities to callable references (::functionName) and more.
The facilities for inlining functions have also been improved, with the addition of support for functions with default parameters, and for inlines into objects.
Support has been added for transient, synchronized and strictfp as annotations, and the semantics are exactly like in Java.
Other changes include additions to the standard library with a new slice function that takes an array or list of integers and returns a list containing the elements in said positions; and a join function that combines arrays and lists into a single string. There are a number of improvements and additions to functions.
The IDE now supports IntelliJ IDEA 14 EAP, and the debugger lets you do Smart Step Into. Smart complete has also been improved with better completion for overloaded methods; the ability to complete ::functionNames and lambdas; and in Anonymous classes and constants in when() statements.
Fourteen new intentions have also been added. The blog post says “We love intentions. We believe that they not only quickly help you solve problems, but also teach you and help you discover language and framework constructs.”
The new intentions include DeMorgans Law; Flip binary expression; Split if conditionals; several ‘replace with’ intentions; simplify boolean expressions; and several convert intentions.
The formatter has been improved, the Structure View now shows members of supertypes; and the Java to Kotlin Converter is better.
Alongside the milestone release, the team has created a new open source website and documentation set on a new domain (http://kotlinlang.org/) by porting all the old documentation site to Jekyll.
The Hadi Hariri says:
“it would make no sense to be developing a language that is Open Source and not having an Open Source web site and documentation.”
The new site is all written in Markdown and hosted on GitHub, and most pages have an Edit Page option so it’s easy to contribute.
The site also has new tutorials and documentation. For those new to Kotlin this 2-minute video is provided to give you a quick Getting Started guide:
Visual Basic was launched by Bill Gates at Windows World on May 20, 1991 and since then has gone through has fourteen releases. The pinnacle release, as far as many of are concerned was VB6, the final [ ... ]
The RobotArt competition was started to explore the intersection of technology and art. For its inaugural contest fifteen teams from seven countries submitted over 70 different artworks. The win [ ... ]