4 ms·
In 3.4 you can now do
x.map { it + 3 }.sum
which I'm still getting used to
In 3.4 you can now do
x.map { it + 3 }.sum
which I'm still getting used to
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.
You also find `it` in Kotlin.