Hacker News
new
past
comments
ask
show
jobs
points
by
ackfoobar
3 hours ago
|
comments
by
titzer
3 hours ago
|
[-]
I think I like the explicit lambda better; I prefer to be judicious with syntactic sugar and special variable names.
fun x => add(subtract(x, 2), 3) // Virgil
reply
by
ackfoobar
3 hours ago
|
parent
|
[-]
Coming from Scala to Kotlin, this is what I thought as well. Seeing `it` felt very wrong, then I got used to it.
reply