From: Patrick May Date: 2004-06-28T21:45:56+09:00 Subject: Re: Is it considered Harmful? Sean, On Monday, June 28, 2004, at 01:07 AM, Sean O'Dell wrote: >> If an object of SomeClass becomes a Tempfile (or any other class with >> significant internal state), which class is responsible for the >> initialization work? > > The class that created the object should have already initialized it. > Initialization is part of object creation, usually. So, SomeClass is responsible for initializing an object not only for its own purposes, but also for Tempfile's purposes? How does SomeClass know that you'll want to change the object's class to a Tempfile, and not a Net::HTTP? Do you see how this absurdity is the logical outcome of your statement? Cheers, Patrick