News for hackers. Stuff that matters.
Re:"Useless syntax sugar": Numbered block parameters in Ruby by pawelduda on Wednesday October 11, 2023 @12:49PM (#37846901)
I find this too cluttered: `billing_subscriptions.each { |billing_subscription| billing_subscription.status = ACTIVE }`

This reminds me a lot of using(&:blabla). I'd prefer it: `billing_subscriptions.each { |bs| bs.status = ACTIVE}`

But don't mind me I'm just bikeshedding

There are no comments on this comment yet.