Re:Ruby 3.1.0 Preview 1
by sodapopcan on Tuesday November 09, 2021 @07:40PM
(#29169612)
I just don't see the readability arguments. I think it hurts readability in a big way, especially in JS where it can be mistaken for destructuring. I've seen firsthand people who defend this syntax get confused. Sure, it's brief confusion, but if anything introduces any kind of confusion at all, I don't see the benefit. `foo: foo` is verbose, sure, but I don't know how one could argue that it isn't readable. It's about as clear as you can get.
[ Parent
| on HN ]
There are no comments on this comment yet.