logoalt Hacker News

wrsyesterday at 9:09 PM6 repliesview on HN

It's such an odd little subcultural quirk that Fortran (really HPC) people call programs and libraries "codes". Most software folks refer to "code", as if it was a substance like sand or water, and use other words for specific units of "code" (programs, libraries, modules).


Replies

pmcgoronyesterday at 10:42 PM

If you want to peer into an alternative reality / funhouse mirror of programming terms, you should look at ALGOL 68. For instance, types are called "modes".

https://jemarch.net/a68-jargon/

(There are also "incestuous unions", which is the actual term used in the spec.)

certikyesterday at 10:44 PM

Author of the blog post. It's just being a non-native speaker and writing the blog post by hand shows these little mistakes. I've been using the terms "code" and "codes", but you might very well be right that my usage is not entirely correct. I'll ask native speakers what the proper usage is here.

dented42yesterday at 9:20 PM

I guess when you’ve been calling it that before everyone else you’re allowed. Sort of how Common Lisp calls threads ‘processes’.

show 2 replies
stackghostyesterday at 9:50 PM

>Fortran (really HPC) people call programs and libraries "codes".

I think it's a European engineering thing that just sort of caught on, actually. For example when I was in undergrad, my 4th-year computational fluids prof made us use "Code Aster"[0] and "Code Saturne"[1] which are both made by a French lab, I believe. Most of the usage of "code as a countable noun" that I've encountered has origins in English-as-a-second-language projects.

[0] https://code-aster.org/

[1] https://en.wikipedia.org/wiki/Code_Saturne

show 1 reply
webdevveryesterday at 9:45 PM

in the ngspice user manual, they call circuit descriptions an "input deck"

https://ngspice.sourceforge.io/docs/ngspice-manual.pdf

briaoeuidhtnsyesterday at 9:38 PM

[dead]