4 ms·
Am I the only one who thinks adding more syntax is a bad thing?
by thmzlt 16y ago
Am I the only one who thinks adding more syntax is a bad thing?
- njonsson 16y agoNo, you aren't.
- cubicle67 16y agoprobably not, but there's some cases where I think it's a good thing. This is one of those cases.
- mapgrep 16y agoIt's fairly terrifying what an accretion of these sorts of options did to Perl, and I say that as someone who does a lot of Perl5 coding and enjoys it. It would be one thing to just have a new symbol that was a drop-in alternative to what works now. But in this case you have a _sometimes_ alternative, so you need to remember a new rule, if only to be able read other people's code. That cognitive cost outweighs any keystroke benefit IMHO.
- cubicle67 16y agooh really? Are you a Ruby dev? If so, is your concern based on the impact this has on you personally, or is it based on concern for some mythical other dev who might have problems with the additional "cognitive cost"? I've been a developing in Ruby now for about 4 years, I think this (the new syntax) is absolutely the right thing to do