It is 2017 now, yet I still occasionally come across a sentence written as follows:
He wrote computer codes at home.
It makes me cringe, I tell you! The "correct" way to say it would be like this:
He wrote computer code at home.
"Code" is used as a mass noun in computer science. Whether it be one line of code or a thousand, we still refer to it as "code". "Code", however, isn't the only word that has this problem.
"Data" is another word that is commonly uses as a mass noun in computer science (which is seen more now pretty much everywhere). I find it awkward sounding when I hear this:
The data are being being sent.
It should be changed to this:
The data is being sent.
"Data", like "code", is used as a mass noun. The word "data" is actually the plural form of the singular "datum", hence the "are". It's a mass noun in the latter, in which it can only be used as a singular. This is the reason why "is" is used instead.
In both words above, the former example followed all the rules of grammar. The latter followed the favored convention (which changes as times change). You don't need to follow the rules strictly, but you need to adapt it in a way so that it makes sense to the majority of people.
TL;DR: Please use "code" and "data" as mass nouns (in computer science) from now on!
Subscribe to ifvictr
Get the latest posts delivered right to your inbox