July 2020 Online Kotlin Meetup
Details
The third virtual edition of the meetup is Wednesday 1st July from 6 pm BST.
Talks will be recorded and will be available on the Kotlin London Youtube channel (https://www.youtube.com/c/kotlinlondon/).
Spread the word, BYOB and pizza, and join the conversation!
Schedule:
- 6.00 pm: Welcome to the Kotlin Online Meetup
- 6.05 pm: Matt Moore and Nicolás D'Cotta - Adding pattern matching to Kotlin
- 6.45 pm: Garth Gilmour - Generics on the JVM: What you don't know will hurt you
- 7.30 pm: Wrap Up
----------------
Matt Moore & Nicolás D'Cotta - Adding pattern matching to Kotlin
One of the reasons Kotlin has proven so popular is its wide array of abstractions and constructs. But pattern matching, a popular feature that in other languages allows us to easily inspect data and act accordingly, is currently missing.
This talk aims to explore the possibility of adding pattern matching to Kotlin. It will go through why and how it could be done, from adding it to the actual language to using a compiler plugin (much like kotlinx.serialization works).
More specifically, we will discuss:
- Why would Kotlin benefit from pattern matching?
- How do other languages compare?
- If we added it to the language, what could it look like?
- Can we ‘make it’, without baking it into the language?
