Say it like this
Real examples
"This looks good, but please do not hard-code the server address. Use a config file instead."
"We hard-coded some test values yesterday, but we need to fix that before production."
"The previous developer hard-coded all the settings, which makes it impossible to deploy to different environments."
Don't say this
Handle with care. Do not confuse with simply writing code. Hard-coding specifically means embedding fixed values directly in code instead of using variables or configuration files.
Other forms
hard-code
"We hard-code the API endpoint in the configuration module."
hard-coded
"The previous team hard-coded sensitive data into the source files."
hard-coded
"We need to replace these hard-coded values with environment variables."
Often used with
Similar words
Opposites
Practice
Try it
4 quick exercises
1. You find a username and password written directly in the code. What do you say in a code review?
2. During the migration, we accidentally _______ the database URL instead of using the config file.
3. Which sentence uses hard-code incorrectly?
4. Rewrite using hard-code: We put the server address directly into the program code instead of putting it in a separate file where it can be changed easily.
Questions
Quick poll
Have you said "hard-code" in a standup this week?
Want more structured practice like this? Our English for Programmers course covers real workplace English in depth.




