Workshop Icon
WORKSHOPS

Pure Functions, Powerful Effects

Functions, Effects, Kotlin

Max. Attendees: 30

What attendees will learn

Effects (systems) help us understand the behavior of our functions, and document those in the signatures.
Kotlin provides several facilities that make it possible to track effects in the language in an idiomatic way.
This workshop explores those techniques, and how they are reflected in popular libraries in the Kotlin ecosystem.

Requirements

Familiarity with Kotlin or similar mixed FP/OOP languages -- including Scala, Java, or C#. It would be useful for attendees to have a copy ofIntelliJ IDEA installed (the Community edition is enough).

Agenda

  • Why is effect tracking important
  • suspend and CoroutineScope as examples of effects
  • Scope management: extension function, lambdas with receivers, context parameters
  • Errors as effects: Arrow's Raise
Companies using this technology

Quite a lot, on both server-sideand frontend projects.

Target audience roles

Developers using or aiming to introduce functional patterns into their existing codebases.

Canela Workshop

€40

Free registration for general ticket holders