Refinements
include/prepend in refinements should be prohibited

include/prepend in refinements should be prohibited
Shugo Maeda • September 09, 2021 • online

include/prepend in refinements are often used to define the same set of methods in multiple refinements. However it should be prohibited because it has implementation difficulties such as https://bugs.ruby-lang.org/issues/17007 and https://bugs.ruby-lang.org/issues/17379, and tends to be misleading like https://bugs.ruby-lang.org/issues/17374.

In this talk, I propose a new feature instead of include/prepend in refinements.

RubyKaigi Takeout 2021: https://rubykaigi.org/2021-takeout/presentations/shugomaeda.html

RubyKaigi 2021 Takeout

Explore all talks recorded at RubyKaigi 2021 Takeout
+32