Avoiding hard-coding of commonly altered values is good programming practice. ... their needs, within reason, without having to edit the program's source code.
en.wikipedia.org