Mastodon

Zac Sweers  —  48 posts

A Closer Look At Moshi 1.9

Moshi 1.9 is here! It's been in the oven for a year and excited to have it out there. This post takes a closer look at its changes.

@JvmDefault: More Useful Than You Think Feature Image

@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.