Re:Ruby 2.1.0 preview1 released
by saurabhnanda on Monday September 23, 2013 @06:14AM
(#6429880)
Wasn't there an overwhelming negative feedback for refinements? What was the rationale for still going ahead with them?
[ Parent
| on HN ]
Re:Ruby 2.1.0 preview1 released
by regularfry on Monday September 23, 2013 @06:19AM
(#6429889)
Matz has said we're getting them, so we're getting them.
Re:Ruby 2.1.0 preview1 released
by saurabhnanda on Monday September 23, 2013 @10:55AM
(#6431359)
Sure, he's the benevolent dictator (and the creator of language, itself), but he would've explained himself somewhere. About the benefits of refinements and how to deal with the downsides. Any links?
Re:Ruby 2.1.0 preview1 released
by regularfry on Monday September 23, 2013 @08:07PM
(#6434983)
If you've got the patience, https://bugs.ruby-lang.org/issues/4085#note-95 is the ruby-core discussion. It really does boil down to "Matz says so."
Re:Ruby 2.1.0 preview1 released
by dragonwriter on Monday September 23, 2013 @12:24PM
(#6432038)
> Wasn't there an overwhelming negative feedback for refinements?
IIRC, there were concerns about the performance impact and maybe some other issues of the semantics of refinements -- particularly from maintainers of other Ruby implementations -- which is why there were originally marked "experimental". I believe that those have been addressed with input from the other implementors in 2.1.0.
Re:Ruby 2.1.0 preview1 released
by steveklabnik on Monday September 23, 2013 @02:27PM
(#6433116)
Even then, a lot of us think the feature is absolutely terrible, performance was just one of the worst parts.