News for hackers. Stuff that matters.
Re:Drat – Ruby has a double splat by nahiluhmot on Tuesday June 23, 2015 @12:43PM (#9765828)
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.
Re:Drat – Ruby has a double splat by grandalf on Tuesday June 23, 2015 @01:09PM (#9766014)
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.
Re:Drat – Ruby has a double splat by sanderjd on Tuesday June 23, 2015 @02:53PM (#9766848)
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.
Re:Drat – Ruby has a double splat by tomphoolery on Wednesday June 24, 2015 @06:49AM (#9770749)
It seems rather fitting that the Web's language would be developed in a transparent and collaborative manner.