I have several variables I need to set only once but never again after starting the application, such as SCREEN_WIDTH, ARRAY_X_LENGTH, TIME_APP_STARTED etc.
I do not declare these final because the software will decide what value to assign to them, not me manually. I capitalize the words though so that I can see that no other code will assign any value to it, only 1.
Is this a bad programming practice, and if yes, what should I do, I usually just have a file containing all these ''final'' variables and my flags, I do not like storing them locally.