Mark Fowler <[EMAIL PROTECTED]> writes:
> Meanwhile in your code
>
> use Bar;  # load Bar
> use Foo;  # load Foo, which will load extensions into Bar (the fred method
>           # in the above explanation
>
> But don't do that.  Really.  No, really, really, really.  No REALLY REALLY
> REALLY.
>
> Years of OO design have shown us that this is a bad idea.

Tell that to the Smalltalk boys. Sometimes adding a method to Object
is the best way to get your package to work. In fact, I'm not sure
you've really done OO until you've added a method to "someone else's"
class. 

-- 
Piers

Reply via email to