Kotlin Beginner → Intermediate ~10 weeks

Kotlin: From Beginner to Intermediate

Null safety is the feature Kotlin is sold on, and treating it as "Java with fewer crashes" is where most people stop. The intermediate stage is where the rest of the language starts paying: sealed classes that make invalid states unrepresentable, extension functions that keep call sites readable, and coroutines that turn callback chains into ordinary sequential code.

Generate my free course

Free to start · no credit card · the outline below is an example, yours is generated around your goals

What this path covers

  • Null safety
  • Data and sealed classes
  • Extension functions
  • Collections and sequences
  • Coroutine basics
  • Java interoperability

Sample curriculum

An example outline for going from beginner to intermediate in Kotlin. Your generated course adapts this to your experience, target level and available study time.

  1. Null Safety as a Design Tool

    Nullable and non-nullable types, safe calls and the elvis operator, and why !! is almost always a design problem rather than a shortcut.

  2. Data, Sealed and Value Classes

    Data classes and what the compiler generates for you, sealed hierarchies that make when exhaustive, and modelling states so invalid combinations cannot be constructed.

  3. Functions, Lambdas and Extensions

    Default and named arguments, higher-order functions, extension functions and receivers, and the scope functions - let, run, apply, also - with guidance on which to actually reach for.

  4. Collections and Sequences

    The collection operators that replace most loops, the difference between eager collections and lazy sequences, and when that difference stops being academic.

  5. Coroutines, Gently

    suspend functions, launch and async, structured concurrency and scopes, and why a coroutine is not a thread - the point at which cancellation starts to make sense.

  6. Living With Java

    Calling Java from Kotlin and back, platform types and the null holes they open, annotations that keep the boundary honest, and adding Kotlin to a Java codebase incrementally.

Kotlin beginner-to-intermediate questions

Do I need to know Java before learning Kotlin?

No, and starting with Kotlin is increasingly common. Java helps when reading libraries and stack traces, since both compile to the JVM, but Kotlin stands on its own as a first JVM language.

When should I use a sealed class instead of an enum?

When each case needs to carry different data. An enum is a fixed set of constants; a sealed class is a fixed set of types, each with its own fields, which is what makes exhaustive when checks powerful.

Is Kotlin only worth learning for Android?

Android is the largest market, but Kotlin is a credible server language with Ktor and Spring, and Kotlin Multiplatform shares logic across iOS and Android. The language skills transfer between all three.

Where to go next

Ready to start Kotlin?

Kotlin is the default language for Android, and a quietly excellent one on the server. Tell LearnForge where you are now and where you want to get to, and it builds the course around that.

Generate my free course