in reply to Re^4: Object Constructors - Advice of experienced OO Perl Monks
in thread Object Constructors - Advice of experienced OO Perl Monks
We are arguing about taste here :) I dislike the MI approach, and really prefer initialize the object inside constructor to be sure my object will be instantiated correctly.
Thinking about MI, your scheme is correct.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Object Constructors - Advice of experienced OO Perl Monks
by izut (Chaplain) on Oct 06, 2005 at 16:36 UTC | |
by Perl Mouse (Chaplain) on Oct 06, 2005 at 16:46 UTC | |
Re^6: Object Constructors - Advice of experienced OO Perl Monks
by Perl Mouse (Chaplain) on Oct 06, 2005 at 16:28 UTC |