Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Softcoding is a
computer coding term that refers to obtaining a value or function from
some external resource, such as a preprocessor macro, external constant,
configuration file, command line argument or database table. It is the
opposite of hardcoding, which refers to coding values and functions in
the source code. Avoiding hard-coding of commonly altered values is good
programming practice. Users of the software should be able to customize
it to their needs, within reason, without having to edit the program's
source code. Similarly, careful programmers avoid magic numbers in their
code, to improve its readability, and assist maintenance. These
practices are generally not referred to as 'softcoding'.