I don't want to sound like a spoil sport, but recently Allen Holub has written a rather interesting article for JavaWorld with the provoking title "Why getter and setter methods are evil".
In the article he cites a variety of reasons why to avoid getters/setters and maintains that an abundance of such methods is a sure sign of poor OO design. It's definitely worth the read.
Just my 2 cents, -gjb-
In reply to Re: Class::SelfMethods
by gjb
in thread Class::SelfMethods
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |