Code is a mass noun, like water or sand.
You don’t say “I wrote five codes today” any more than you’d say “I drank five waters.”
✅ Say This
- “I wrote some code today”
- “The code is working”
- “I need to review the code”
- “Let me fix this piece of code”
❌ Not This
- “I wrote some codes today”
- “The codes are working”
- “I need to review the codes”
- “Let me fix these codes”
🧠 You Already Know This
English has many mass nouns — uncountable things that don’t take a plural. Code is one of them.
🤔 But What About…
“What about programming languages — aren’t those codes?”
Nope. Python, JavaScript, and Rust are languages, not codes. You write code in them.
“What about coupon codes or ZIP codes?”
Those are a different sense of the word — a code as a symbol or identifier. Totally fine to pluralise. Context matters!
“My non-native English speaking colleagues say codes — should I correct them?”
Kindly and privately, yes. It’s a common mistake and a simple fix that will make them sound more professional.
Why Does This Matter?
Using proper grammar helps you sound more professional and credible in technical discussions. Small things build trust.