Damian Conway wrote:
> 
> The point of welding SETUP calls to C<bless> is that it gives the class
> designer a way of guaranteeing that you can't create an object (i.e. bless
> it) without invoking the initialization.

Actually, this is a good point that I hadn't fully considered. Ok, I've
invoked Larry's rule #2, I like this now. ;-)

But I've gotta nitpick the name. I wonder if BLESS wouldn't be better?
print calls PRINT, printf calls PRINTF, even if the subs don't do any
printing. Sure makes it easier to see what's going on, to me at least.

"BLESS - oh, special object-related stuff that happens on bless()"

That way, even if an object's been "setup" (created) already, if you
re-bless it, it's still clear that BLESS is going to be called again.

-Nate

Reply via email to