antipattern Hard coding

https://en.wikipedia.org/wiki/Hard_coding

Considered an anti-pattern, hard coding requires the program's source code to be changed any time the input data or desired format changes, when it might be more convenient to the end user to change the detail by some means outside the program.

原文地址:https://www.cnblogs.com/rsapaper/p/6031495.html