I confess to having the pedantic hangup of refusing to use email
as a count noun, but it's a lost cause.
Over the past week I've been working on a modeling and simulation proposal, and I've noticed that the M&S community seems to find code
as a count noun to be acceptable usage, e.g.,
Conservative codes adopt the approach of …
What are the rules that make conversions from mass noun to count noun grammatical? How about the other direction, of which I'm having a hard time producing an example?
Related Questions
Explanation for “emails”?
Is it wrong to use the word "codes" in a programming context?