Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 pondering the Monastery: (9)
As of 2015-07-29 23:26 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 (269 votes), past polls