in reply to Re: (jeffa) Re: OO style question: how much information to hide?
in thread OO style question: how much information to hide?

Amen++

Though I'd like to here why you say "simple interfaces"?

My first reaction is that all interfaces should be simple, but realistically that is always possible.

Second thought was that in the interface is already complicated, then wheres the mileage in further complicating it by add extra methods that the caller has to use to test for stuff that can be tested internally just to avoid abending for a error that isn't?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller


  • Comment on Re: Re: (jeffa) Re: OO style question: how much information to hide?