Is it correct to use “source codes” to mean the source code of more programs?

grammatical-numbergrammaticalityuncountable-nouns

According to the Cambridge Dictionary, the word source code is countable, even if usually used in its singular form.

I would like to know if it is correct to use the plural to mean the source code of more programs or a collection of source code.

For example, is it correct the sentence:

The source codes of these programs are all under Apache license.

Best Answer

It’s a question of opinion. I would avoid it all costs because of my encounter with different codes such as the Morse code and the Genetic Code before the application of the word to computer programming.

An easy way to do so in this case is:

“The source code of each of these programs…”