hard code
Write values directly
Hard code means to embed fixed values directly into software rather than making them configurable or variable.
Hard-coded data can't be changed without modifying the source code itself: The password was hard-coded into the program.
The practice is generally discouraged because it makes software inflexible and harder to maintain.
Also spelled hardcode or hard-code.
- embeddedSet firmly within something
- intrinsicBelonging by nature
- firmwareHardware's permanent programming
- immutableIncapable of being changed
- unchangeableImpossible to modify
permanent · build time · inflexibility · integrate · implement · compile · legacy systems · magic number · maintainability · reusability · programming · software design · technical debt · modularity · overwrite · coupling · readability · best practices
hard codeparameterize
Define by adjustable inputs
configure · externalize · data-driven · make flexible · config file
hard codeparameterize
Define by adjustable inputs
generalize · abstract · modularize · decouple · inject