Re:Ruby adds experimental support for Rightward assignments
by baash05 on Saturday September 05, 2020 @07:51AM
(#24382922)
Agreed. And it doesn't really improve anything.
The argument that it makes code easier to read is bogus. Perhaps for people who only work in ruby.
I suspect rubo-cop would have a rule against this a week after it was added.
I was just teaching Ruby to someone learning to code. I have to admit because all popular languages use leftward assignment it was one less thing to teach.
=> is pretty loaded as it is