2 ms·
That does happen. Ruby 2.7 was going to remove something called the swip-swap operator (or similar), which was thought to be essentially unused. That plan was
by IfOnlyYouKnew 7y ago
That does happen. Ruby 2.7 was going to remove something called the swip-swap operator (or similar), which was thought to be essentially unused.
That plan was shelved after a search of GitHub turned a few examples of usage in the wild.
- Twisol 7y agoThe flip-flop operator, I think: https://nithinbekal.com/posts/ruby-flip-flop/ https://nithinbekal.com/posts/ruby-flip-flop/