4 ms·
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 ex
by nfm 14y ago
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 https://speakerdeck.com/a_matsuda/ruby-2-dot-0-on-rails for a good overview.
- steveklabnik 14y agoNote 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.
- nfm 14y agoI 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?
- steveklabnik 14y agoFrom the rspec maintainer: http://www.ruby-forum.com/topic/4408519 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.