Join Slack
Communities
Powered by
Not saying that the use case for delegates is not ...
# getting-started
n
nkiesel
02/23/2017, 10:36 AM
Not saying that the use case for delegates is not valid. I just wonder why it's limited to that.
val count = mutableMapOf<String, Int>().withDefault { 0 }; count["a"]++
would looks much nicer
Open in Slack
Previous
Next