At the first ever Brighton Kotlin meetup I gave a short presentation on how we have introduced Kotlin into our back end ecosystem at Crunch. These slides are very high level but give an idea of what I talked about on the night.
15. Brighton Kotlin Meetup #2
"What I learnt from a major sports brand app".
Kubra has contributed to Android apps for FC Barcelona,
Premier League, British Council and for many other
companies. She is a big fan of Kotlin. She is a GDG and
WTM lead since 2014.
Kubra will share her experiences why we should convert
Android applications into modern Kotlin, how to start
converting a Java project and best Kotlin practices.
Common frustrations from looking at many huge PRs
“Making Every Line Count”
“Coolness”
Easy - Interoperability & IDE support
Community
Sneak into projects (using confidence from test coverage)
Exemplars
Parent/starter POMs to make integration easy
Strikt
Mockk
Quickly evaluated a few options until we had something we were really happy with
No actual problems!
Xxxx LOCs saved
Less noisy PRs, less need to write/assert coding standards
Reduced use of libraries: Apache Commons, Guava nearly removed
Reduced need for other frameworks/generators, e.g. Lombok, AutoValue
“You’re rewriting working code?”
“I’m a Java dev, I can’t work with this”
“In the future, but why now?”
“Java will get to the same place by itself, but gradually”
Apply lessons to all our microservices
Gain genuine Kotlin expertise
I.e. less use of auto-migration tools
Take full advantage of Kotlin language improvements
Baseline training for new hires (since we can’t expect Uni to cover)
I.e. please send us more free stuffz