Does anyone know if Coroutines plans at some point don't be a library? and become part of kotlin's core
d
dknapp
05/11/2018, 1:49 PM
No. I have asked this in the #coroutines channel and the answer was that coroutines are too large to be included in the stdlib.
I wish the basics would make it into the stdlib. An argument I hear for coroutines is that they are a “language feature” and not a library, but it’s not true.
a
amanda.hinchman-dominguez
05/11/2018, 5:27 PM
I think I have to admire the plethora of libraries available for kotlin that make suitable replacements for Java equivalents - we're growing fast but the fact Kotlin wants to make sure they get stdlib right says a lot.
r
rCorbellini
05/11/2018, 6:33 PM
I like the idea of separate libraries, but when you work using some patterns it weighs a lot when deciding whether or not to use coroutine in some layers of the project, if it were in stdlib you would not doubt