- What list of verbs are you using for method names? What's your personal or team standard?
- I debate whether to use Do vs. Run vs. Execute vs. Perform and am wondering if any of these are no longer recommended or some that people just don't really use and I should just scratch them. Basically any one of those verbs mean the same thing...to invoke some process (method call). This is outside of CRUDs. For example:
ExecutePayPalWorkflow();
that could be also any one of these names instead:
DoPayPalWorkflow();
RunPayPalWorkflow();
PerformPayPalWorkflow();
or does it not really matter...because any of those verbs pretty much are understandable as to "what" shows your intent by the other words that follow it "PayPalWorkflow"
Naming is something I take very seriously and really think about a lot while coding as:
- it makes code readable to other devs
- it makes my code readable to myself weeks later when I can't remember what I coded
This discussion can go for any language. I just put the two main tags C# and Java here which is good enough for me to get some solid answers or experiences.