On Thu, 10 Oct 2002 23:06:44 +0900, Dave Thomas wrote:
> Perhaps a better approach might be to have a call that sets the
> parameters to be used when the object is created:
> 
> SomeClass.set_init_args(1, 2, 3)
> 
> a = SomeClass.instance  # will do  new(1, 2, 3)
> 
> b = SomeClass.instance  # will reuse existing object
> 
> It would be a runtime error to call set_init_args more than once
> or call it after the object has been created.

Why would it be a runtime error to call set_init_args more than
once? After the object has been created, absolutely, but why not let
the initial values mutate as necessary until creation?

-austin
-- Austin Ziegler, austin / halostatue.ca on 2002.10.10 at 10.37.53