http://qs321.pair.com?node_id=310070


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