Skip to content

The Kotlin Language: Expertise for Deploying APIs

Training certified by

  • Kotlin
  • Expert
  • 3d

Go beyond everyday Kotlin: understand the deep mechanisms of the language and compiler to write idiomatic, safe code, design durable public APIs, and automate code generation.

Course
Overview

Program
Objectives

  1. Master advanced generics: variance, multiple constraints, and type erasure.


  2. Extend the language with contexts, receivers, delegation, and value semantics.


  3. Leverage the compiler: contracts, inline functions, reified types, and official plugins.


  4. Make the most of the standard library: conventions, delegates, destructuring, sequences, and unsigned types.


  5. Design, document, validate, and evolve high-quality public APIs.


  6. Practice metaprogramming: reflection, serialization, and code generation with KotlinPoet and KSP.


Prerequisites

Program

D1

Advanced concepts

Morning

Type erasure

understand the consequences

Generic variance

covariance, contravariance, and multiple constraints

Contexts & receivers

extend the language

Interface delegation

compose modules

Afternoon

Value semantics

the future of immutability

Companion blocks

extend existing types

Contracts

give guarantees to the compiler

Inline functions

non-local returns

D2

Compiler & standard library

Morning

Reified types

access the type at runtime

Official compiler plugins

know them and apply them

Kotlin conventions

understand the convention pattern

Property delegates

delegate the creation of delegates

Afternoon

Destructuring

by name or by position

Sequences

lazy operations on collections

Unsigned types

UInt, ULong & co

Dokka

document your code

D3

API quality & metaprogramming

Morning

Explicit API

control what you expose

Visibility & Opt-in

manage access and encapsulation

API validation

control exposure and changes

API migration

continuously evolve an API

Afternoon

JVM reflection

simple introspection with the Java API

Kotlin reflection

enriched information with the Kotlin layer

Serialization plugin

runtime introspection

KotlinPoet

generate Kotlin code at compile time

KSP

create annotation processors and code generators

Details

  • Format

    In-company

  • Duration

    3 days (21 hrs)

  • Audience

    Kotlin developers

  • Level

    Expert

Contact

Organize this course for your team

Interested in this program? Tell us about your context, and we'll get back to you to build the right workshop for your team, together.

    You are



    Additional information

    These trainings might interest you

    Our workshops are designed for professionals. Each program is tailored to your team's level and context, whether in-house or as an open session.

    Kotlin Multiplatform: Mobile

    Kotlin Intermediate
    3j

    Share your business logic between Android and iOS without sacrificing the native experience: master the Kotlin Multiplatform toolchain and Swift interoperability to design, distribute, and integrate a robust shared SDK that accelerates your teams.

    Read

    The Kotlin Language: Concepts & Tools

    Kotlin Beginner
    3j

    Discover how Kotlin lets you write less code with fewer errors: its key concepts and tools will quickly make you productive at building safe, readable, and maintainable applications.

    Read

    Compose: Interfaces in All Their Forms

    Kotlin Intermediate
    2j

    Embrace declarative thinking to build reactive, maintainable, and performant interfaces. Master state and data flow to share a single UI codebase across Android, iOS, Desktop, and Web.

    Read

    Kotlin Coroutines: Expert Usage

    Kotlin Expert
    2j

    Go beyond everyday coroutine usage: understand their inner mechanisms, from language primitives to flows, to write reliable, performant, and testable asynchronous code, and choose the right tool for each problem.

    Read

    Koog: Integrating AI into Your Multiplatform Apps

    IA Intermediate
    2j

    Go beyond the simple LLM call: use Koog to design AI agents integrated into your Kotlin applications, capable of acting and orchestrating themselves, reliable, cost-efficient, and observable in production.

    Read

    Gradle: Master & Optimize Your Builds

    Gradle Intermediate
    1j

    Finally understand what happens in your Gradle builds to make them reliable, fast, and maintainable: factor out your configuration, automate your specific needs, and save precious time on every build.

    Read