News for hackers. Stuff that matters.
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.
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.
Re:Ruby 2.0.0-rc2 is released by nfm on Friday February 08, 2013 @08:03PM (#5191055)
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.

Re:Ruby 2.0.0-rc2 is released by pmahoney on Friday February 08, 2013 @08:27PM (#5191113)
Here's an article from Headius, JRuby developer: http://blog.headius.com/2012/11/refining-ruby.html
Re:Ruby 2.0.0-rc2 is released by nfm on Friday February 08, 2013 @08:23PM (#5191105)
Thanks Steve :)