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
- RFC 189 (v1) Objects : Hierarchical calls to initializ... Perl6 RFC Librarian
- Re: RFC 189 (v1) Objects : Hierarchical calls to ... Nathan Wiger
- Re: RFC 189 (v1) Objects : Hierarchical calls... John Siracusa
- Re: RFC 189 (v1) Objects : Hierarchical c... Nathan Wiger
- Re: RFC 189 (v1) Objects : Hierarchic... John Siracusa
- Re: RFC 189 (v1) Objects : Hierarchical c... Damian Conway
- Re: RFC 189 (v1) Objects : Hierarchic... Nathan Wiger
- Re: RFC 189 (v1) Objects : Hierarchic... Damian Conway
- Re: RFC 189 (v1) Objects : Hiera... John Siracusa
- Re: RFC 189 (v1) Objects : Hiera... Piers Cawley
- Re: RFC 189 (v1) Objects : H... Graham Barr
- Re: RFC 189 (v1) Objects... Nathan Wiger
- Re: RFC 189 (v1) Objects... Damian Conway
- Re: RFC 189 (v1) Objects : H... Damian Conway
- Re: RFC 189 (v1) Objects : Hierarchic... Tom Christiansen
- Re: RFC 189 (v1) Objects : Hiera... John Siracusa
- Re: RFC 189 (v1) Objects : Hierarchical calls to ... Michael G Schwern