hard-coded programming
nounUK /ˌhɑːdˈkəʊdɪd ˈprəʊɡræmɪŋ/
US /ˌhɑːrdˈkoʊdɪd ˈproʊɡræmɪŋ/
Writing fixed values directly into a program so they cannot change by themselves.
The developer used hard-coded programming to set the server address in the app.
OTHER MEANINGS
2. Embedding data such as passwords or paths directly in source code instead of using configuration files.
Security reviewers flagged the hard-coded programming of API keys in the repository.
3. Writing logic that assumes specific values and therefore breaks when those values change.
The bug came from hard-coded programming that assumed the screen was always 1024 pixels wide.
4. The practice of specifying behavior at compile time rather than letting it be set at runtime.
Their hard-coded programming made the game fast but impossible to customize without a rebuild.