Footballer. Caribbean-born, Texas-raised. Thoughts are my own, etc. Currently @SlackEng · formerly @UberEng @Flipboard · @UTCompSci alum
Kotlin Symbol Processing: Early Thoughts
Google announced Kotlin Symbol Processing [https://github.com/android/kotlin/tree/ksp/libraries/tools/kotlin-symbol-processing-api] (KSP) today, a new compiler-plugin-based API for annotation processing in Kotlin. It's designed to be a faster alternative to Kapt, Kotlin's current first party tool for this. Rather than re-explain some of its excellent [https:
I like learning new things. That's a sufficiently vague claim, but it's intentionally broad. There's different conduits for learning: open source libraries, side projects, any sort of learning pursuit outside of your day-to-day work. I'm a big believer that these pursuits, however trivial, usually pay off in the long run.
@JvmDefault: More Useful Than You Think
@JvmDefault is an annotation + compiler flag in Kotlin to enable using Java 8 default interface methods. It does more than it leads on though! This post explores some other bytecode optimizations you can gain with it as well as some hidden behaviors you should be aware of.