Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lucasoshiro
· 1y ago · 0 comments
Kotlin also has it, I can tell you that it's really useful
Comments
[–]
cempaka
1y 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.
[–]
onedognight
1y ago
Groovy has had “it” for a while. I suspect it predates Kotlin’s usage.
[–]
pledg
1y ago
Also matches Groovy