Naming: ordering multiple names
In case a name includes multiple names of different scopes, it must be ordered from the larger scope to the smallest one. Thinking about how you would organize it in a folder hierarchy.
For example, you have multiple configuration files in your project myproj:
- for different environments (
devfor development,prodfor production) - for different components (
dbfor a database,appfor an application)
The best practice, in this case, would be to choose the format:
project_component_environmentThe list of files would be like this:
myproj_app_dev
myproj_app_prod
myproj_db_dev
myproj_db_prod