The GOal of this article is praiseworthy, but it makes some very wrong assumptions, since, as you mentioned, you’re not familiar with Go.

First, regarding threads. Go uses same concept as thread pool as Kotlin. It just doesn’t provide you with an ability to create your own pool.

In Go deferred can be represented as an out channel you return from your function. It’s very awkward, but works.

Solutions Architect @Depop, author of “Hands-on Design Patterns with Kotlin” book and “Web Development with Kotlin” course

Love podcasts or audiobooks? Learn on the go with our new app.

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
Alexey Soshin

Alexey Soshin

Solutions Architect @Depop, author of “Hands-on Design Patterns with Kotlin” book and “Web Development with Kotlin” course

More from Medium

Desire in Words #1

Fantastic event on Turbo today

Post 2: I Can’t wait

Login or Register