| < Day Day Up > |
|
Download CD Content
Hardcode refers to placing values that affect the application directly in the code when they would be easier to maintain in separate resource files. While very few would consider placing the data for an image directly in the source code, it is common for a string or number to be placed directly in the code.
Hardcoding values into the source code of an application can cause many problems and solves few. Yet, this quick and lazy solution is taken far too often as the path of least resistance. The proper handling of these values represents hard work, and it is therefore not surprising that it is not done properly. However, this hard work will pay for itself and more as development moves along.
| < Day Day Up > |
|