https://kotlinlang.org logo
#feed
Title
# feed
s

s1m0nw1

04/28/2018, 10:08 AM
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

hoang

04/29/2018, 6:33 AM
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

s1m0nw1

04/29/2018, 9:37 AM
I think
use
is very special since it provides try-with-resources functionality and only works on receivers of
Closable
.
h

hoang

04/30/2018, 6:48 AM
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.