Where should you put constants and why?
- by Tim Meyer
In our mostly large applications, we usually have a only few locations for constants:
One class for GUI and internal contstants (Tab Page titles, Group Box titles, calculation factors, enumerations)
One class for database tables and columns (this part is generated code) plus readable names for them (manually assigned)
One class for application…