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.
In reply to Re: $bad_names eq $bad_design
by adrianh
in thread $bad_names eq $bad_design
by Ovid
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |