Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by codeacrobat (Chaplain)
on Aug 03, 2007 at 06:50 UTC ( #630461=note: print w/ replies, xml ) Need Help??


in reply to 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. Choosing different names spares you these automatic review comments.


Comment on Re: is it ok to name object methods after core functions?
Re^2: is it ok to name object methods after core functions?
by adrianh (Chancellor) on Aug 03, 2007 at 12:36 UTC
    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.

Log In?
Username:
Password:

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

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

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (193 votes), past polls