There is a serious lack of Kotlin tutorials for beginners. You only find experienced Java developers hacking down Kotlin code in record time. Don’t get me wrong — those are really great for other experienced developers and I enjoy watching them. But for beginners, they are just voodoo code appearing on the screen like magic.
Kotlin is actually a great language to learn first, if only the necessary tutorials were out there. So I decided to create a course that even total beginners can follow. Check out the first 10 Kotlin tutorials below or check out the whole course (it’s $10 with the 95% reader discount).
#1: A Brief Overview of Kotlin
Learn where Kotlin comes from, the language concepts it incorporates, and why you should learn it.
One of the major selling points of Kotlin is its concise and expressive syntax. But in how far does Kotlin actually allow you to write more concise code? Let’s look at four ways it accomplishes this.
In Java, you sometimes create classes which act simply as data containers without much additional functionality. This may be the case, for example, when following the Value Object Pattern proposed by Martin Fowler. Let’s look at an Address class that just stores all data associated with a specific address: …
Kotlin is a statically typed JVM language built by Jetbrains, the makers of the IntelliJ IDE. Kotlin is built upon Java and provides useful features such as null-safety, data classes, extensions, functional concepts, smart casts, operator overloading and more.
This crash course into Kotlin for Java developers demonstrates the most important advantages that Kotlin has over Java and compares some of the language concepts. You can skim the code snippets and boldly marked parts for a quick overview but I recommend you read the whole article (even though it is rather long). …