Re:Kicking the Tires on Ruby 2.1 Preview
by gum_ina_package on Thursday September 26, 2013 @12:52PM
(#6451990)
You can always not upgrade. It's not a fun option, but an option never-the-less. Or just don't use refinements.
[ Parent
| on HN ]
Re:Kicking the Tires on Ruby 2.1 Preview
by jrochkind1 on Thursday September 26, 2013 @06:53PM
(#6454124)
I won't use refinements, but if open source code I'm using uses them, I still get to debug them.
Yes, yes, I know, I can analyze any open source code before using it and not use it if it uses refinements, or I can simply never use any Not Invented Here code at all.
I can do many things, it is indeed a wonderful free country.
Re:Kicking the Tires on Ruby 2.1 Preview
by rurounijones on Thursday September 26, 2013 @01:26PM
(#6452208)
Seeing as other ruby implementations (rubinius and jruby) have been very iffy on refinements and may not implement them it is probably best not to use them at all if possible.
Re:Kicking the Tires on Ruby 2.1 Preview
by shawn42 on Thursday September 26, 2013 @01:33PM
(#6452269)
Charles Nutter (of JRuby) has said that many of his main complaints on refinements have been resolved. His original rant can be found here: http://blog.headius.com/2012/11/refining-ruby.html
Re:Kicking the Tires on Ruby 2.1 Preview
by rurounijones on Thursday September 26, 2013 @08:41PM
(#6454545)
Ooo excellent news, I didnt know that.