What is the best practice to store constant values, which will never change during the life cycle?
For example there are frequent messages to show on the UI (and you know that the application will not always be localized) or there are hard codes in the category-id database
It takes a lot of time to put everything in the config. Are there stable static classes to keep such constants together? Or should you keep such resources in project resources?
Thank you in advance!
In addition to keeping all your code together, It has taken additional advantage of reading your application for localization.
Comments
Post a Comment