Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by BrowserUk (Pope)
on Jun 11, 2003 at 14:15 UTC ( #265044=note: print w/ replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://265044]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (12)
As of 2014-08-22 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (159 votes), past polls