I've been working on a project recently and I'm looking for some advice on organizing and naming constants in my code. I believe that having well-organized and appropriately named constants can greatly improve the readability and maintainability of my code. Currently, I have a lot of constants scattered throughout my code and it's becoming difficult to keep track of them all.
I want to know how you all organize and name your constants in your projects. Are there any best practices or conventions that you follow? For instance, do you group related constants together or keep them separate? How do you come up with meaningful names that accurately describe the purpose of each constant?
I would really appreciate any tips, suggestions, or examples that you can provide. Thank you in advance for your help!