GeneralCode Structure
KW-0109Hardcoded
General Term
Meaning
value directly written into code instead of being configurable or dynamic
Example
“Hardcoding API base URL inside code instead of using environment config”
Reference
Reduces flexibility and maintainability; should be avoided in scalable systems
Related
configstatic valueanti-pattern