Y
Hacker News
new
|
ask
|
show
|
jobs
by
lucasoshiro
531 days ago
Kotlin also has it, I can tell you that it's really useful
2 comments
cempaka
531 days ago
Ruby has had this in the same form as "_1" for a while (and the obvious other indexes in the case of multiple params), but I agree Kotlin's "it" reads much better.
link
onedognight
531 days ago
Groovy has had “it” for a while. I suspect it predates Kotlin’s usage.
link
pledg
531 days ago
Also matches Groovy
link