This was a serious question, really. Joerg, when he gets back, might like to comment on this, because it was as a result of some of his input that I first realised there was a significant cost associated with such Java fundamentals as instanceof and type casting. Those discussions gave me much food for thought. So I'll rephrase the question: what, if anything, is the cost of using the interface instead of the implementation?


Peter B. West wrote:
> Jeremias,
> I have no objection at all, as long as it costs nothing. It is free,
> isn't it?
> Jeremias Maerki wrote:
>> Fellow FOP developers,
>> would you mind using the interface instead of the implementation where
>> possible? Map instead of HashMap, List instead of ArrayList. I've seen
>> this habit in a number of places and not only by Keiron! I've made it a
>> habit to follow this pattern

"Lord, to whom shall we go?"

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to