Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
(Also this is not an OO issue, but merely a Perl issue.) The example might have shown a problem specific to Perl, but the idea is applicable to any language. A Java API that returns an array of integers stored in an otherwise private field would be just as problematic. ---- : () { :|:& };: Note: All code is untested, unless otherwise stated In reply to Re: Re: Why get() and set() accessor methods are evil
by hardburn
|
|