If you want to define a program parameter that can not be altered at runtime, but might be altered as you test the program, how would you do so?
A simple example: if I want all buttons to be the same size on my user interface, I would define BUT_DEPTH by use of (hash)define. (Sorry - using a Swedish keyboard and cannot find the hash key). One alternative would be to use a global variable, and a (better, as these things seem to be judged) one would be to have a program parameters class that has a but_depth member int, accessible by anything that requires knowledge of the depth a button should be.
It seems the latter two cases are overkill if the parameter is not to be changeable at runtime.
What would you do?
(Dull question, I know, but I got to wondering if everyone else does what I do...)