The gap between reading Kotlin and writing it usually opens in the same place: a function that seems to return nothing, a variable that might be null, and a list you want to transform rather than loop over. Those three ideas, plus classes and one concurrency tool, carry almost everything else in the language. Learn them in that order and the rest of Kotlin stops looking like syntax and starts looking like a set of small decisions.
Start with functions and types, not frameworks
Write twenty small functions before you touch Android or a web framework. Kotlin wants you to state types on the way in and often lets you omit them on the way out, so a function like fun area(width: Int, height: Int) = width * height is the whole lesson: parameters typed, body an expression, return type inferred. Then write the same function with a block body and an explicit return type, and notice where return is required.
Get comfortable with val and var here. Prefer val everywhere and reach for var only when a loop counter genuinely needs it. Most beginner bugs in Kotlin are not syntax errors; they are values that changed when the author assumed they could not.
Null safety is a reading skill before a writing skill
Kotlin separates a String from a String?, and the compiler will not let you call a method on something that might be missing. Beginners reach for !! to silence that complaint, which converts a compile error into a crash. Instead, practise the three tools in order of preference: ?. for a call that should be skipped, ?: for a default value, and let when a whole block depends on the value being there.
name?.lengthreturns null instead of throwing.name ?: "guest"supplies a fallback.name?.let { greet(it) }runs only when the value exists.
Read every ? as a question the code is asking, and every !! as a promise you may not be able to keep.
Collections and lambdas are where Kotlin gets short
A list, a set and a map, plus filter, map, any and sumOf, replace most of the loops you would write in another language. Convert a loop into a chain deliberately: take a list of numbers, filter the even ones, double them, then sum. If the chain gets longer than about four steps, split it into a named function or a val with a clear name — clever chains are the most common way a beginner’s file becomes unreadable.
Classes, data classes and when
Define one class with a constructor and a method. Then define the same shape as a data class and print it, and notice that you get equality, a readable toString and copying for free. Data classes are the workhorse of ordinary Kotlin: they hold the result of a query, the state of a screen, the payload of an event.
Pair them with when, which is a switch that returns a value and forces you to handle the cases you declared. Sealed classes plus when give you exhaustive handling — add a new case and the compiler points at every place that needs updating.
Save coroutines for the first real wait
Do not study concurrency until you have something that blocks: a file read, a network call, a slow calculation. Then learn suspend functions and a single launch inside a scope. The core idea is smaller than the vocabulary: a suspend function can pause without holding a thread, and structured concurrency means a parent scope waits for its children.
Pick one exercise per technique and finish it — a tip calculator with safe input, a word counter over a list, a small data class fed by a map. Five small programs will teach this material faster than one large one you never complete.