What's others' perception on this? Is there an increase in use of "codes"? Do you see any cultural/regional correlation?
(And, perhaps controversially, does "codes" still sound wrong? - it conflicts with the grammar of an uncountable / mass noun)
I think the uptick is due to the increased number of participants who are not native speakers, mainly from Asia and eastern Europe I would presume--I'm not a native speaker either but the distinction between countables and non-countables is natural to me, coming from another Germanic language.
I kind of dislike both terms, "codes" seems to refer to each individual statement in isolation, which makes zero sense at all. "The code" I think, refers to the entirety of a program/function/system, and makes a bit more sense.
However, code suggests something that is difficult to understand, which is the opposite of what's actually going on..
You're not "coding", you're writing a program or even programming.. If anyone is coding it's the compiler or assembler translating your easliy understood programming text into the binary machineCODE, which is actually annoying and hard to understand.
I agree that there is an uptick in the last few years, but I've never encountered "codes" used by a native English speaker with an understanding of software (occasionally, even 10+ years ago, I've heard it used by non-technical people).
> And, perhaps controversially, does "codes" still sound wrong?
To my (native English speaker) ears, yes, very wrong, and all of the people I've encountered who use "codes" when referring to source code make numerous other common mistakes which I consider "codes" to be one of.
"Codes" seems to be considered valid in the context of scientific computing but not generally elsewhere in the software industry.
Or, imho, you could imagine that those pieces of code, for doing very precise things under specific constraints (of memory, or CPU, etc) is software that received maybe thousands of person-hours of attention and wisdom, over many years or decades, so they are battle-tested, esteemed, and highly trusted objects. Software that was written in Fortran when Fortran was the only language with good optimizing compiler, and the software is still running in Fortran because the Elders were wiser than we are. A collection of such software is sensibly called “codes”.
Software in many other circumstances is more of a fluid and maleable thing, shifting in form and purpose in response to a changes in needs and fashion. “Code” here is more like air or bread, a medium we inhale and emit, not a collection of specific venerated objects.
Anyway, that’s how I understand the code vs codes divide, having seen both sides of it.