Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 scrutinizing the Monastery: (3)
As of 2014-09-24 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (243 votes), past polls