News for hackers. Stuff that matters.
Re:Ruby 3.4.0 by ilvez on Wednesday December 25, 2024 @05:04AM (#42507987)
Truly is, much nicer than that lonely `_1`
Re:Ruby 3.4.0 by rubyfan on Wednesday December 25, 2024 @11:23PM (#42513094)
_2 can be as bad as _1
Re:Ruby 3.4.0 by BoingBoomTschak on Thursday December 26, 2024 @05:59AM (#42514463)
I'd have thought allowing _ as a synonym for _1 would have been more aesthetically consistent. That's the path I went with when designing my CL #λ reader macro, personally.