Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: OO style question: how much information to hide?

by sauoq (Abbot)
on Jun 11, 2003 at 00:49 UTC ( #264922=note: print w/ replies, xml ) Need Help??


in reply to OO style question: how much information to hide?

I much prefer the explicit version.

I would be inclined to code it like that even if the module didn't require me to do so. If nothing else, it would avoid useless method calls.

I don't think it would bother me if the module didn't enforce that though. It seems to be in the spirit of giving enough rope... and I might be glad of it when needing a quickie throwaway script or a one-liner.

-sauoq
"My two cents aren't worth a dime.";


Comment on 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://264922]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (16)
As of 2014-07-29 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (225 votes), past polls