I converted one of my articles to use the Runnable...
# feed
s
I converted one of my articles to use the Runnable Kotlin Playgrounds (announced yesterday): https://kotlinexpertise.com/coping-with-kotlins-scope-functions/ Tell me what you think
👍 2
🎉 4
h
I like the
Use Case
sessions. If only I'd known those earlier I'd not messed up my code 😉
btw, should
.use
be included in the list too?
s
I think
use
is very special since it provides try-with-resources functionality and only works on receivers of
Closable
.
h
yeah it is special in a way, as
.with
also special in the way it is called compared to the others. The speciality makes their idiomatic use-cases.