Naming Convention
There are two simple rules we encourage when it comes to naming conventions for functions:
1. Describe what your function does:
Using a name also helps you keep your functions short and concise.
A good format is: <verb><Entity>
The verb of what your function is doing.
The name of the entity that you are acting on.
2. Include the name of the system the function is interacting with:
When you include the interacting system in the name of your function, you are essentially grouping your functions by what they interact with based on their concerns.
Interacting systems can be databases, APIs, or file systems, and these can be further grouped under a specific client site.
A good format is: <system><Verb><Entity>
If you want to checkout more naming convention recommendations, see Naming Conventions for Functions and Variables.
Â