That is not the case. Kotlin coroutines are not colorless, but they do elegantly solve most of the red/blue problems. In particular, Kotlin collection functions like forEach do not have a second implementation. A single implementation works equally well both for synchronous and asynchronous cases. More on that here: https://medium.com/@elizarov/how-do-you-color-your-functions-a6bb423d936d

Written by

Project Lead for the Kotlin Programming Language @JetBrains

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store