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


in reply to Re: Re: Why get() and set() accessor methods are evil
in thread Why get() and set() accessor methods are evil

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.