Looking into Immutable Data with Optics - Simon Vergauwen

Опубликовано: 21 Февраль 2026
на канале: Xebia Functional (formerly 47 Degrees)
1,089
36

Immutability is a concept supported in Kotlin that we usually implement using data classes and read-only properties. Working with complex nested immutable structures can be a bit unfriendly with this language, given how nested calls to the copy constructor lead to hardly understandable codebases. In this talk, we will learn about optics, and how we can use and compose them to create highly reusable paths to update our nested data structures.

Slides: https://speakerdeck.com/47degacademy/...

Speaker: Simon Vergauwen
Twitter:   / vergauwen_simon  
Language: Kotlin
Recorded: July 14th, 2020

This talk is a 47 Degrees Academy event. Find out more here:

Site: https://www.47deg.com/academy
Slack: https://47degreesacademy.slack.com/jo...

#kotlin #functionalprogramming #optics