3 ms·
I've had some success with the object-oriented equivalent of the pattern. Perversely, I find it to be most effective as a political tool. It's useful when some
by bunderbunder 11y ago
I've had some success with the object-oriented equivalent of the pattern. Perversely, I find it to be most effective as a political tool.
It's useful when someone doesn't like my minimalist solution to some problem, and starts peppering me with feature requests that will complicate the module and which I perceive to be of marginal utility. So I make that chunk of functionality pluggable, keep my minimalist implementation as the default, and publish some instructions for how to drop in a more complicated behavior. Then all I have to do is sit back and watch the original requester realize that they only think the stuff they were asking for is worth the effort if they can get someone else to be the one putting out the effort.
- megaman22 11y agoLove to see an example