Repository navigation
Java to Kotlin
with Nat Pryce and Duncan McGregor.
We will show how to convert a typical Java web application to Kotlin, and then take advantage of Kotlin features to transform the software architecture from the grain of Java (beans, mutable state, and exceptions) to the grain of Kotlin (immutable data, functional programming, and type-level modelling to make illegal states unrepresentable).
We will live-code the transformation. The demonstration is a starting-point for conversations about the topic. So ask questions as we go. The digressions are the tutorial.
We are expecting the participants to already know some Kotlin. However, if there are any language features you don't recognise, shout and we'll explain them.
You can find out more about the book "Java to Kotlin: a Refactoring Guidebook" here: https://java-to-kotlin.dev/
Duncan's YouTube channel is here: https://www.youtube.com/channel/UCWZnyGwHUjIcP2mdz2B5qzQ
The repository for the session's example is on GitHub - we were working through Part 4 We pushed our changes to the socrates-23 branch.


- Home
- Code of Conduct: rules on how to make this an inclusive event
- COVID-Precautions: Precautions and monitoring of room ventilation
- Schedule
- Venue Map
- Menu
- whoami: Attending? Feel free to introduce yourself.
- Session Incubation: come up with cool ideas for the conference
- Lightning Talks: get your point across in five minutes or less
- Evening Events: things to do from 7pm to 9am
- Marketplace: pictures of the current marketplace
- 2026 Sessions: Blog posts, photos and everything else produced during the conference