Background:
There are a few threads on SO about how to choose names for variables and functions. It dawned up on me that there might be a use for a site where you could go and ask random people what name a particular function should have. You describe the behavior, and they come up with a name. The benefit of this, you get multiple perspectives and potentially code that is more readable to more people.
The other thing that dawned upon me is that SO may not be a good site for that kind of thing. Who wants to create a new SO question every time they scratch their neck trying to think of a function or variable name?
Question:
I have a function that does something very simple. It takes a source string and converts it into a target output. The target output is intended to be usable as a variable name or a database column name.
Example:
'Customer Name' --(becomes)--> 'customer_name'
What should I name my function? Where can I go to ask this question for the 356 other functions I want to have perfect names for?
See also:
http://stackoverflow.com/questions/1505880/thoughts-on-variable-function-naming-conventions ;; http://stackoverflow.com/questions/380458/marking-up-argument-names-in-comments-of-functions