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.

programming

embed

Fix within surrounding material

  • valueImportance or price
  • constantFixed, unvarying quantity
  • stringSlender fiber or character sequence

path · configuration · credential · password · dependency · URL · parameter · variable · literal · fixed

inflexibility

rigid

Unable to bend

static · embedded · baked-in · permanent · unmodifiable · set · locked · predetermined · predefined · immutable

Categories
Opposites
configurability

hardcodeparameterize

Define by adjustable inputs

externalize · configure · abstract · generalize · modularize

dynamism

hardcodeparameterize

Define by adjustable inputs

abstract · generalize · derive · look up · compute

Family

hardcoded

Familiarity
Top 1,000,000
Profile
Used worldwide · Timeless · Abstract · Rated G