Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by t'mo (Pilgrim)
on Jun 11, 2003 at 23:08 UTC ( #265215=note: print w/ replies, xml ) Need Help??


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

Concerning "tokens", is the start-tag-ed-ness of a Token inseparable from being a Token? Or is it, rather, an attribute imposed by having a Grammar? (Of course, that speculation may be beyond the scope of a ::Simple module.)

About "deletion", I suggest contemplating this question: What response does the object implementing the collection of attributes within the Token give if it is asked to delete an attribute that it does not contain? :-)


...every application I have ever worked on is a glorified munger...


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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (13)
As of 2015-07-28 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (257 votes), past polls