Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Re: Why get() and set() accessor methods are evilby pg (Canon) |
on Nov 25, 2003 at 18:07 UTC ( [id://309989]=note: print w/replies, xml ) | Need Help?? |
You are right, as Java also has primitive types. But on the other hand, in this case, I can choose to return, for example, an ArrayList of Integer. This is much less a problem to languages that have stronger OO support. Update: Thanks BUU for the extension, tie was actually something I thought of. The idea of tie, actually holds some characteristics that OO interface provides.
In Section
Meditations
|
|