News for hackers. Stuff that matters.
Re:Ruby adds experimental support for Rightward assignments by jjgreen on Friday September 04, 2020 @10:31AM (#24375223)
Doesn't this introduce an ambiguity?

    def foo(*arg, **kwarg)
      puts "#{arg}/#{kwarg}"
    end
    b = 'meh'
    foo(:a => b)
Now this produces

    []/{:a=>"meh"}
But with right-assign

    [:a]/{}

?
Re:Ruby adds experimental support for Rightward assignments by baash05 on Saturday September 05, 2020 @07:53AM (#24382932)
Oh. The bugs that this would produce. And spotting it visually would be killer