Language design is full of tradeoffs and each language picks its own niche in the design space. Go language is generally less type-safe than Kotlin: it does not solve the null pointer problem, nor collection readability problem, and it does not even have generic types. So I am not surprised it has no type-level solution for coroutines either. It perfectly fits the overall style of the language.

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