Hacker News new | past | comments | ask | show | jobs | submit login

I'm really not a fan of the keyword argument feature in Ruby, especially after using ES6 for a good number of projects. It's essentially a special-case of variable destructuring that works for one type of key, Symbols. Also, since its coupled into the arguments of a function, there is no way to use this sort of feature for simple variable assignment.



I agree. Also, consider how much more democratic and thoughtful the process that ES6 underwent to add destructuring was, compared to the way Ruby evolves... many of us got to use the feature via transpilation long before the standard was baked, which led to a much more solid feature.


Yeah, it's a real testament to the ES community. I'm amazed how much has been accomplished recently in such a transparent and collaborative way. Hopefully that sort of thing is more the "new normal" than an exception to the rule.


It seems rather fitting that the Web's language would be developed in a transparent and collaborative manner.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: