Your weekly dose of Kotlin

Register for the newsletter to get your weekly Kotlin dose. It is free, we are lovely and do not send spam

Subscribe

* indicates required

Latest Issue

Kotlin Weekly #-248!

null

Effective Kotlin Item 36: Prefer composition over inheritance (kt.academy) Items of the Effective Kotlin book by Marcin Moskala. In this article, some reflections on when should we use composition and inheritance in Kotlin.

Composing Web Content (tiwiz.medium.com) GDE Roberto Orgiu has written an article about how to use Jetpack Compose to render web pages.

Recreating Still D.R.E. in Kotlin (livecoding-recipes.github.io) This article explains how to recreate a classic hip-hop tune by Dr Dre using the library punkt and some Kotlin goodness for sequence processing.

An Argument for Ending the Single Letter Generic Type Convention in Kotlin (www.bignerdranch.com) An article by Bryan Sills on why we should give generic types descriptive names instead of using single letters.

Room auto-migrations (medium.com) Room has implemented auto-migrations, and they are coming with the version 2.4.0-alpha01. Check out in this version how to use them.

Jetpack Compose — Before and after (medium.com) Chris Banes wrote a blog post about how the build speed, APK size and source line count changed after migrating the Tivi sample app to Jetpack Compose.

Rx to Coroutines Concepts, Part 1 (code.cash.app) Bill Phillips from Cash App has written an article about how some concepts compare between RxJava and Coroutines.

From Inline to Value Classes (www.youtube.com) This video covers one of the main features of the Kotlin 1.5.0 release: inline value classes. Inline classes wrap values without any additional overhead.

Sealed Interfaces and Sealed Classes Improvements (www.youtube.com) This video introduces the new sealed interfaces functionality in Kotlin 1.5.0 and other improvements for sealed classes.

Lead Android Developer @ Stream (getstream.io) Stream is hiring a Lead Android Developer to build and mentor a new team around our Jetpack Compose efforts. Join one of the growing startups in Colorado and Amsterdam and help us build the world’s most complete SDKs for chat and messaging applications. Apply now!

Talking Kotlin: Teaching Kotlin at Stanford, with Rahul Pandey (talkingkotlin.com) In this episode of Talking Kotlin Rahul Pandey talks about the specifics of his approach to teaching Kotlin for Android development at Stanford.

The Developers’ Bakery: MoshiX and KSP with Zac Sweers (thebakery.dev) Nicola Corti speaks in this chapter with Zac Sweers about meta-programming, annotation processors and compiler plugins.

Contribute

We rely on sponsors to offer quality content every Sunday. If you would like to submit a sponsored link contact us!.

If you want to submit an article for the next issue, please do also drop us an email.

Thanks to JetBrains for their support!

Submit

Suggest a link for an upcoming Kotlin Weekly

Past Issues

RSS

What people think about us

“Kotlin Weekly has established itself as one of the main references of what's going on in the Kotlin world.”

Hadi Hariri Head of Developer Advocacy, JetBrains

“If you have time for only a single source of information about Kotlin, Kotlin Weekly is a great choice. It is reliable, informative and fair”

Marcin Moskala Founder of Kt.Academy

“Kotlin Weekly is a comprehensive newsletter that helps me stay up to date with the most notable and recent developments in Kotlin libraries and new community initiatives.”

Raul Raja CTO 47degrees