Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
phiiiillll
· 1y ago · 0 comments
In 3.4 you can now do
x.map { it + 3 }.sum
which I'm still getting used to
Comments
[–]
pmontra
1y ago
Even the same customer has projects with Ruby ranging from 2.7 to 3.4 so I'm using the oldest possible syntax. The changes in keyword args hit hard some projects. Luckily not the one I'm working on most of my time.
[–]
cies
1y ago
You also find `it` in Kotlin.