Re: RFC 189 (v1) Objects : Hierarchical calls to initializers and destructors

[email protected] (Damian Conway) Sun, 3 Sep 2000 12:54:53 +1100 (EST)
Newsgroups perl.perl6.language.objects
Message-ID <[email protected]>
   > Also, its not entirely clear why method chaining is desired only for
   > constructor and destructors.  What about every other method?

Constructors and destructors are special. They're not about *doing*
something; they're about *being* (or not being) something.

A "doing" method *may* wish to make the object do everything its hierarchy
allows it to do: that's why I proposed C<NEXT>.

A "being" method *must* make the object be everything its hierarchy requires
it to be: that's why I proposed hierarchical constructors and destructors.


Damian