Re: RFC 189 (v1) Objects : Hierarchical calls to initializersanddestructors
[email protected] (Damian Conway) Sun, 3 Sep 2000 11:32:33 +1100 (EST)
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
> BLESS is still my top choice by far, because while it doesn't do any > blessing, it's obvious what it's attached to. I think it's misleading. > Remember, PRINT and PRINTF don't have to do any printing, nor do > POP, PUSH, etc, have to do any popping or pushing. But SETUP *never* blesses. Never. > But they're all named for the function they're invoked by, so > there's considerable precedent in this area. And I think it's *all* misleading. They *ought* to be called ON_PRINT, ON_POP, etc. Personally, I now favour BUILD/REBUILD, though I would be perfectly happy with ON_BLESS/ON_REBLESS if all the others were fixed too. Damian