Re:"DCI" in Ruby is completely broken
by davnola on Wednesday January 02, 2013 @04:22PM
(#4999394)
Because in general, delegation tends to lead to object schizophrenia. Specifically, SimpleDelegator will leak the original delegatee object when a delegated method returns `self`.
I think SimpleDelegator is really neat but totally dangerous. Doesn't this ring alarm bells with you?
[ Parent
| on HN ]
There are no comments on this comment yet.