Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: $bad_names eq $bad_design

by adrianh (Chancellor)
on Dec 21, 2002 at 14:59 UTC ( #221631=note: print w/ replies, xml ) Need Help??


in reply to $bad_names eq $bad_design

If you can't figure out a good name for your function, what do you do? I sometimes struggle with this and I'll sit back in my chair and I'll restate what the function does. Usually the name of the function will just magically occur at that

I agree completely. Having trouble naming a class, function, method, variable, etc. is a classic pointer to a design problem.

Have a look at Using Good Naming To Detect Bad Code and Vague Identifier for some related issues to do with method naming and class structure.


Comment on Re: $bad_names eq $bad_design

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2015-07-06 22:36 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 (84 votes), past polls