6 ms·
Just a reminder that the spec for refinements continues to change radically: http://bugs.ruby-lang.org/issues/4085 http://bugs.ruby-lang.org/issues/4085 As far
by subwindow 14y ago
Just a reminder that the spec for refinements continues to change radically: http://bugs.ruby-lang.org/issues/4085 http://bugs.ruby-lang.org/issues/4085
As far as I understand it the current spec is to have "using" be available only to main and only apply in the file scope. IMHO this makes the feature nearly useless.
- aneth4 14y agoIf you explore the topic, there are solid reasons from performance, to vm ports, to readability for why refinements have been curtailed. I'm quite happy with this. The original refinement support would have held ruby back, even if it had its uses.
- Rapidwire 14y ago^^ What an apologist...