Kotlin is a modern and powerful language, but getting started with it can be a challenge. When you’re getting going it can be difficult remembering the syntax for common operations, so we’ve put together a downloadable PDF Kotlin cheat sheet and quick reference.
This includes some examples that will enable you to quickly get up to speed with writing Kotlin if it’s the first time you’ve written it, or you’re just a little rusty.
Without further ado, here is the download link:
The cheat sheet summarizes the most important Kotlin syntax on two pages to get you up to speed quickly, including:
- Declaring Variables
- Nullable Types
- Control Flow
- Functions and Lambdas
- Classes and Objects
- Data, Enum, and Sealed Classes
Hopefully, this free PDF will be useful as you start writing your first Android apps. If you’d like to learn more about Android and Kotlin development, please check out our Android tutorials, screencasts, and video courses!
Source link https://www.raywenderlich.com/200471/kotlin-cheat-sheet-and-quick-reference