2 ms·
>This is going to be controversial and take some getting used to, but I think eventually everyone will love it It's saving a single character in your example.
by treis 5y ago
>This is going to be controversial and take some getting used to, but I think eventually everyone will love it
It's saving a single character in your example. I can see liking it as solving a minor inconvenience. But love? I don't see that. To me it's just another thing to learn.
- nocman 5y agoMaybe so, for some, but I find: {width:, height:, x_pos:, y_pos:} to be much more pleasant than {width: width, height: height, x_pos: x_pos, y_pos: y_pos} And the more items you add the more I find it useful. Yeah, it took some getting used to in Javascript after years and years without it, but I personally would not want to go back to not having it. I'm not crazy about the colon/comma combo, but if I was writing in Ruby I suspect I'd get used to it after a while.