Re:Ruby 2.0.0-rc2 is released
by nfm on Friday February 08, 2013 @06:45PM
(#5190833)
Can't wait to see refinements start getting used in libraries. I guess it'll be some time until people start requiring Ruby 2.0, but there are some seriously excellent new features in the works. See https://speakerdeck.com/a_matsuda/ruby-2-dot-0-on-rails for a good overview.
[ Parent
| on HN ]
Re:Ruby 2.0.0-rc2 is released
by steveklabnik on Friday February 08, 2013 @07:28PM
(#5190966)
Note that refinements are an 'experimental' feature only for Ruby 2.0, and many library authors don't want to use refinements. So I wouldn't expect to see a very big uptake in their adoption.
I don't know a lot about this, apart from the fact that the implementation is a bit contentious. Can you elaborate on some of the opposition to refinements?
Re:Ruby 2.0.0-rc2 is released
by steveklabnik on Friday February 08, 2013 @08:16PM
(#5191095)
From the rspec maintainer: http://www.ruby-forum.com/topic/4408519
Brian Ford, one of the heads of Rubinius, has also been very outspoken about refinements, though I can't remember a specific link at this time.
Here's an article from Headius, JRuby developer: http://blog.headius.com/2012/11/refining-ruby.html