Java to Kotlin - SoCraTesUK/socrates-uk GitHub Wiki
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
Today's session
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.