← Graph

Refinements

concept 4 connections

Ruby language feature (authored by Shugo Maeda) that allows monkey patches to be activated only in a specific lexical scope via `using`. Introduced as experimental in Ruby 2.0, made non-experimental in 2.1, but adoption remains limited. Nick Sutterer dismisses refinements as effectively unused because they are hard to understand and don't solve the problem of customizing objects at runtime/compile time. Recommended use cases elsewhere include dependency reduction and coordinated modernization.

category
pattern
about
Refinements concept
Refinements singled out as a feature almost no one uses.
about
Refinements concept
Primary subject of the talk.
concept Refinements
related_to
Ruby tool
Language feature in Ruby.
person Shugo Maeda
works_on
Refinements concept
Authored the refinements feature in Ruby.
role: author

Provenance

Created in
Wroclove.rb 2018 — Lightning Talks 2026-04-17 16:18
Read by
19 extractions