Am Donnerstag, 25. Januar 2007 06:23 schrieb Matt Diephouse:
> > This change is just adding more mess to object construction and argument
> > passing.
> >
> > I've made several attempts to unify object construction with new calling
> > convs
> > but no one seems to be listening :-(
>
> That was a change I made (with Allison's approval). The purpose of the
> change was to eliminate differences between PMCs and objects. It's
> confusing for PMCs and objects and objects that subclass PMCs to behave
> differently. Given that PMCs can have two different init functions, how
> does it make sense for objects to have only one? Does providing an init
> function for a subclass of a PMC override both of the parent's init
> functions?

The differences were confusing. More so are they now. All the C<new> variants 
are confusing. I've proposed to use Parrot calling conventions to pass args 
and just call one method for object creation, e.g. in

http://groups.google.at/group/perl.perl6.internals/browse_frm/thread/e68dc0a0a96585b7/076502809495f8e2?lnk=st&q=parrot+instantiate+toetsch&rnum=5#076502809495f8e2

leo

Reply via email to