News for hackers. Stuff that matters.
Re:Ruby 3.2.0 Is from Another Dimension by ilyt on Wednesday January 04, 2023 @10:38AM (#34246811)
I woudn't exactly call it consistent and design decisions are questionable. Even the article-mentioned

    def foo(*)
        bar(*)
    end
is some needless nonsensical bloat, who on earth complained "oh, saying def foo(a) is so 90s, we need to have option to replace it with symbol used for multiplication or pointers in some cases!"

It's mediocre language that happened to have some then-popular web framework written in

Re:Ruby 3.2.0 Is from Another Dimension by Alifatisk on Wednesday January 04, 2023 @10:48AM (#34246937)
Well there is also:

  def foo(*rest)
    bar(*rest)
  end

if that helps? What would you prefer instead of the asterisk?