by chrisseaton · 6y ago · 0 comments
I wonder why some industries (HPC, defence) talk about code as being a discrete countable noun, where almost all other industries talk about code as being an uncountable mass noun.
Example: GitHub and Amazon have code, whereas Cray and Raytheon have codes.
I wonder what 'one code' looks like to them? Is it on function? One line?
I've never heard it used but it seems "one code" would be one implementation of a specific algorithm from the literature -- probably one or a few functions.
Likewise, I've seen agile purists deliver totally broken login screens.
The difference, in my opinion, lies in the software's end goal; software you write for a NASA space flight might kill the astronaut you've met at NASA. Software you write for a login screen won't, as it's not as high stake. You're probably going to put on your head phones, pick a YouTube playlist, scroll through JIRA, and meme around on slack.
We've evolved thousands of years fighting real physical threats, and we have implemented processes to deal with these physical threats in order to survive. A JIRA ticket for a broken login screen just does not trigger the same brain pattern response as your astronaut friend burning to death during orbital re-entry.
good testing is a relevant best practice and increasingly scientists are recognizing this.
I have worked across US, UK and Australia and everywhere it is exclusively Indian developers who use the term codes. I still hear it every day and I don't believe anyone brings it up because technically both ways are right.
One machine instruction (e.g. one opcode, three opcodes)
One g-code, a list of g-codes
Maths retains its s because it's an abbreviation of the plural noun mathematics.
The one place I do see “codes” consistently is Indian blogs/vlogs.
It reads reads to me from the uk as a "How do you do, fellow kids"
Well those people would be missing out because some of the most talented scientists write 'codes'.
Here's one other random example that sounds normal to HPC people and bizarre to most other industries.
"Debugging parallel codes can be incredibly difficult, particularly as codes scale upwards."