Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?
choroba still has one more.
[Corion]: I have Thursday and Friday off, so then I might get to converting the rough outlines to more articles ;)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-04-24 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (437 votes). Check out past polls.