3 ms·
> In Kotlin specifically, this is a shorthand for anonymous functions where, if you don’t specify an argument, one will automatically exist with the name it I'
by rmrfrmrf 9y ago
> In Kotlin specifically, this is a shorthand for anonymous functions where, if you don’t specify an argument, one will automatically exist with the name it
I'm pretty sure Kotlin borrowed this idea from Groovy.
- citycide 9y agoI'm pretty sure that's correct but Kotlin is a more recent reference so I chose it instead.