Join Slack
Powered by
Why not `it`?
# announcements
d
Davio
12/05/2018, 8:38 AM
Why not
it
?
➕ 6
h
Hexa
12/05/2018, 8:39 AM
is
it
idiomatic and readable?
d
Davio
12/05/2018, 8:39 AM
To me it is
Davio
12/05/2018, 8:39 AM
You can drop the parameter name in that case
Davio
12/05/2018, 8:40 AM
Because Kotlin names the parameter
it
by default
k
karelpeeters
12/05/2018, 8:41 AM
It sure is better than a random single letter variable.
➕ 1
h
Hexa
12/05/2018, 9:34 AM
Thanks
3
Views
Open in Slack
Previous
Next