News for hackers. Stuff that matters.
Re:Ruby One-Liners by byroot on Saturday September 14, 2019 @05:05AM (#20969688)
> The removal of the flip-flop operator

Well that never happened. It was deprecated with the intention to remove it, but they backtracked: https://bugs.ruby-lang.org/issues/5400#note-25

Re:Ruby One-Liners by faitswulff on Saturday September 14, 2019 @08:34AM (#20970395)
I'm glad Ruby takes community feedback seriously, for the most part - most recently the pipeline operator and the named block parameters, for instance.
Re:Ruby One-Liners by cutler on Saturday September 14, 2019 @10:39PM (#20975233)
I heard Matz is going to remove the Perl special variables in Ruby 3.0. Can't think what the fuss is all about. They're pretty useful in command-line Ruby. I moved from Perl to Ruby so I will be sad to see this bit of Perl heritage removed from Ruby. I mean for what gain?
Re:Ruby One-Liners by byroot on Sunday September 15, 2019 @12:05PM (#20977835)
Only a very small subset of them: https://bugs.ruby-lang.org/issues/14240

    $/    input record separator (default argument for "gets")
    $\    output record separator ("print" prints it at last)
    $,    default separator for Array#join and print
    $;    default separator for String#split
As for the gain it's because these variables globally change the behavior of important core methods. They really aren't that useful, but can easily cause havoc.
Re:Ruby One-Liners by pizza234 on Saturday September 14, 2019 @06:06AM (#20969870)
Interesting. The discussion, although minimal, lasted years, then closed pretty quickly. Good for Ruby :-)