The CommonsBlog

"Elements of Kotlin Version 0.2 Released

Subscribers now have access to Version 0.2 of Elements of Kotlin, in PDF, EPUB, and MOBI/Kindle formats. Just log into your Warescription page to download it, or set up an account and subscribe!

There is one new “main” chapter, covering: extension functions. Thera are several more “Kotlin, WTF?” short chapters on advanced syntax. Those cover:

Also, the chapter on Java interoperability was rewritten.

The biggest change is that most of the samples in the book were put into the Klassbook, a Web site where you can run Kotlin snippets in your browser. Samples that appear in the Klassbook have links to the particular Klassbook page underneath the snippets in the chapters. Or, visit the Klassbook site directly and browse through the various lessons.

Unfortunately, switching to the Klassbook means that most sections in the book have some changes. As a result, most of the Table of Contents shows up in bold-italic, and there are lots of changebars in the book itself.

Oh, and there were a lot of bug fixes.

Need an extra hand with your Android app development project? CommonsWare can help — reach out for details!