|
|
|
|
|
by wizofaus
1049 days ago
|
|
Honestly the most important thing is that the names convey something meaningful to the other developers working on the codebase - so if in doubt ask them!
I'd also say names that are easily searchable are that much easier to work with. On that basis coming up with the simplest/shortest name possible shouldn't necessarily be your first priority, as you'll likely come up with names that are already in use all through the codebase, often for quite different purposes. And to assist with auto-complete etc it's arguably better to have the more-likely-to-be-unique part of the name near the front, though English doesn't tend to make that the natural choice, esp. for functions where you typically want to start with a verb. |
|