News for hackers. Stuff that matters.
Re:New Features in Ruby 2.4 by yxhuvud on Thursday July 21, 2016 @04:57AM (#12135615)
It is usually not a great idea, but there are some patterns where it produces code that is a lot nicer than not. In practice, this will allow stuff like

    while x, y = foo.pop
      ..
    end
which without the mass assignment will require duplication of the assignment line.

There are no comments on this comment yet.