> 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.
I'm pretty sure Kotlin borrowed this idea from Groovy.