News for hackers. Stuff that matters.
Re:"Useless syntax sugar": Numbered block parameters in Ruby by vidarh on Thursday October 12, 2023 @07:09AM (#37855661)
The entire point was that those constructs that do not just pass the bare method or something like a Proc that allows you to call the method, are needed exactly because the syntax will not allow for just mentioning a bare method name without calling it.

If you're fine with the extra syntax, yes, there are many alternatives, but they don't address the point.

There are no comments on this comment yet.