hardcode
Fix into source
To hardcode is to embed fixed values directly into software rather than making them configurable or dynamic: The developer hardcoded the server address instead of reading it from a config file.
Hardcoded values are inflexible—changing them requires modifying the source code.
The practice is generally discouraged but sometimes appropriate for constants that truly never change.
Fix within surrounding material
- valueImportance or price
- constantFixed, unvarying quantity
- stringSlender fiber or character sequence
- pathRoute for traveling
configuration · credential · password · dependency · URL · parameter · variable · literal
Unable to bend
- inflexibleUnable to bend
- unchangeableImpossible to modify
- fixedRestored or immovable
- staticWithout motion or change
embedded · baked-in · permanent · unmodifiable · set · locked · predetermined · predefined
embed
Fix within surrounding material
path · configuration · credential · password · dependency · URL · parameter · variable · literal · fixed
rigid
Unable to bend
- inflexibleUnable to bend
- unchangeableImpossible to modify
- fixedRestored or immovable
static · embedded · baked-in · permanent · unmodifiable · set · locked · predetermined · predefined · immutable
hardcodeparameterize
Define by adjustable inputs
externalize · configure · abstract · generalize · modularize
hardcodeparameterize
Define by adjustable inputs
abstract · generalize · derive · look up · compute