In genetics, most authors say/write "gene G codes for protein P", while some say "gene G codes protein P". German being my mother language, the first form looks a little strange to me, since also in German now it's very common to say "Gen G kodiert für Protein P", which is wrong in German. With my German background, "to code" ("kodieren") can be used transitively with meanings:
- to encode: X codes Y means X creates the code of Y, e.g. "The text editor codes the character 'A' with the ASCII-Code to the number 65".
- being the code of something: X codes Y means X is the encoded form of Y, e.g. "The number 65 codes the letter 'A'"
In most cases it is clear by the situation or fact whether X is the encoder or the code of Y.
So are there any (general) examples of using "code for" when meaning "is the code of" beside genetics? Would you say "The number 65 codes for 'A'"?