hard coding
Embedding fixed values
Hard coding is embedding fixed values directly into a program's source code rather than making them configurable or dynamic.
A hard-coded password can't be changed without modifying the code itself.
The practice is generally discouraged because it reduces flexibility: The file path was hard-coded, so the program broke when we moved servers.
Also spelled as one word: hardcoding.
Liable to shatter
- staticWithout motion or change
- fixedRestored or immovable
- rigidUnable to bend
- unadaptableCannot modify to fit
hardwired · embedded · unchangeable · permanent · immutable · concrete · stiff · locked
Awkwardly heavy or bulky
- tediousBoring through length
- time-consumingRequiring much duration
- manualWritten instructions for use
- redundantExceeding what's needed
laborious · error-prone · repetitive · unscalable · unwieldy · verbose · duplication · copy-paste
Cannot be kept functional
- deprecatedFormally advised against using
- legacyWhat's passed down
- shortcutQuicker alternative path
- workaroundMakeshift bypass of difficulty
hack · kludge · band-aid · configuration · constants
brittle
Liable to shatter
unadaptable · hardwired · embedded · unchangeable · permanent · immutable · concrete · stiff · locked · baked-in
cumbersome
Awkwardly heavy or bulky
- tediousBoring through length
- time-consumingRequiring much duration
- manualWritten instructions for use
redundant · laborious · error-prone · repetitive · unscalable · unwieldy · verbose · duplication · copy-paste · boilerplate
unmaintainable
Cannot be kept functional
- deprecatedFormally advised against using
- legacyWhat's passed down
- shortcutQuicker alternative path
workaround · hack · kludge · band-aid · configuration · constants
- antipatternstechnical debt, cargo cult, golden hammer, silver bullet, over-engineering
- code bugsbugs, errors, crashes, glitches, syntax error
hard codingabstraction
Distilling to essential qualities
generalization · templating · indirection · metaprogramming · polymorphism
hard, coding, code, harder, hardest, harden, hardness, hardly, hardened