Kotlin can be compiled to any Java version bytecode
Kotlin can even be compiled to Javascript
Kotlin can even be compiled to native binaries for iOS, OSX, Windows, Linux etc.
Writing Java in Kotlin
Which is fine
Gradually learn more idomatic Kotlin
Discover the std lib tools with autocomplete
val myString: String? = null
println(myString.isNullOrEmpty()) // prints true!A series of exercises to get you familiar with the Kotlin syntax and features
The best way to learn all the language features
Written by Svetlana Isakova
Also wrote Kotlin in Action and Atomic Kotlin
Bluetooth connected drone
Parrot Android SDK
Grabber, Pellet gun, Camera
Control drone with existing android app
Take off, Land
Control pitch, yaw, roll, etc.
Converted it to Kotlin & cleaned it up
Send higher level commands to drone
Wanted to explore a web framework
For handling food delivery requests
Went with Ktor
Created by Jetbrains
Written in Kotlin
For building async web servers & clients
Heavily uses coroutines for high scability
Really easy to safely async everything
Easy to use idomatic api
Great testing tools
Learned how to create a web app using the Kotlin wrappers for React.
Take advantage of Kotlin features to write expressive code that will compile to a React application
Really nice Kotlin DSL for building html
Advent of Code challenges
These are some fun festive challenges
A great way to pick up new tips and tricks from the Kotlin library, particularly functional programming techniques!
Andrey Breslav - Lead language designer@Jetbrains
Roman Elizarov - Coroutines lead @Jetbrains
Hadi Hariri - Developer advocate @Jetbrains
Svetlana Isakova - Developer advocate & author @Jetbrains
Kotlin is a better language for the JVM than Java
Really easy to get up and running
Simpler language than Java
Much safer than Java
No more NullPointerExceptions!
Streamlines the handling of null values
More more clean & concise than Java
100% Interoperable with Java
Kotlin & Java classes can live side by side