News for hackers. Stuff that matters.
Re:Rhombus Language by phiiiillll on Tuesday March 18, 2025 @11:48AM (#43400863)
In 3.4 you can now do

  x.map { it + 3 }.sum 
which I'm still getting used to
Re:Rhombus Language by pmontra on Tuesday March 18, 2025 @04:35PM (#43404734)
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.
Re:Rhombus Language by cies on Wednesday March 19, 2025 @04:50AM (#43409577)
You also find `it` in Kotlin.