hardcoding
nounUK /ˌhɑːdˈkəʊdɪŋ/
US /ˌhɑːrdˈkoʊdɪŋ/
Writing a fixed value directly into a computer program instead of letting the program look it up.
The teacher explained that hardcoding the password into the app was a bad idea.
RELATED WORDS
OTHER MEANINGS
2. The practice of putting data that may change directly into code rather than storing it separately.
Hardcoding the server address made it hard to move the app to a new machine.
3. In game design, setting a rule or value that players cannot change.
The hardcoding of the level cap frustrated players who wanted to keep leveling up.
4. Any situation where a flexible choice is replaced by a rigid, unchangeable one.
Hardcoding the schedule meant nobody could adjust it when plans changed.