Hacker News new | ask | show | jobs
by semiquaver 29 days ago
Wow, I wrote Ruby for 15+ years and never saw this trick!
1 comments

Same and it’s really unclear to me why you would want this access pattern over. It seems like it might lead to unintended consequences.
added an addendum from Byroot (who introduced the change I learned this technique from) on when/why they use this