in reply to •Re: Why get() and set() accessor methods are evil
in thread Why get() and set() accessor methods are evil
Given that Larry's mandated that the Perl 6 compiler be capable of autogenerating lvalue accessor methods for attributes, I don't think you'll find that perl 6 will magically make things any better--you'll just end up with a lot of public attribute accessors.
Granted, a.b = 12; is much nicer looking than a.set_b(12); or a.set_b = 12
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: •Re: Why get() and set() accessor methods are evil
by Juerd (Abbot) on Nov 26, 2003 at 22:44 UTC | |
Re: Re: •Re: Why get() and set() accessor methods are evil
by sth (Priest) on Nov 26, 2003 at 19:00 UTC | |
by Ovid (Cardinal) on Nov 26, 2003 at 19:16 UTC | |
by sth (Priest) on Nov 27, 2003 at 00:26 UTC | |
by Elian (Parson) on Nov 26, 2003 at 19:12 UTC |
In Section
Meditations