Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
This playground is an overview of Kotlin language features. I'll introduce syntax for starters and explain the basics, and what makes Kotlin a language that deserve your attention.
This guide assume that you have some basic knowledge on programming principles.
I'll describe the following features as clearly as possible:
- String templates
- Control expressions
- Data Classes
- Sealed Classes
- Functions Basics
- Java interoperability
- Type Checks and Smart Casts
- Operator overloading
- Functions Extended
- High-Order functions
- Inline functions
For all this parts you'll find some explanation, flat code and nice interactive examples, that will show how Kotlin is a friendly companion to play with.
This documentation is born from the desire to share some knowledge about Kotlin and the benefit to use a nice platform as tech.io.
If you really want to get further with Kotlin I suggest you to read the book Kotlin In Action.
NB: This Playground is wildly inspired by the [Kotlin documentation](https://kotlinlang .org/docs/reference/basic-syntax.html)