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

Re^2: is it ok to name object methods after core functions?

by adrianh (Chancellor)
on Aug 03, 2007 at 12:36 UTC ( #630499=note: print w/ replies, xml ) Need Help??


in reply to Re: is it ok to name object methods after core functions?
in thread is it ok to name object methods after core functions?

Also you should keep in mind that Perl::Critic will complain about builtin function overwrites

It's "may complain" not "will complain". P::C is configurable in all things.

I love P::C, but changing code just to make a comment disappear isn't what it's about. It highlights things that may be problems. Change them if it makes your code better. If <code>$door->open</open> is more intention revealing than the alternatives leave it alone.


Comment on Re^2: is it ok to name object methods after core functions?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-07-12 23:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (242 votes), past polls