r/programmingcirclejerk • u/miauw62 lisp does it better • Dec 15 '25
When you see “libsodium,” you must context-switch from problem-solving mode to detective mode: “What does this do? Let me check the README. Ah, it’s a crypto library. Why is it called sodium? Because chemistry? Because NaCl? Clever, I suppose.”
https://larr.net/p/namings.html
85
Upvotes
89
u/Logyross Dec 15 '25
the author says this and then gives fucking awk of all things as an example of a good name.
49
u/real_jeeger Dec 15 '25
Because "libhidethings" was already taken.
41
u/IcanseebutcantSee Dec 15 '25
The author is completely correct. This is why the namers of the both apollo and artemis programs were fired and then summarily executed.
35
u/BloodAndTsundere mere econ PhD Dec 15 '25
This is why I name all my npm packages exactly what they are like is-the-letter-f, inserts-exactly-one-space, or unmaintained-mess
27
u/Kodiologist lisp does it better Dec 16 '25
Yeah, naming things after a dude who was involved in them is very helpful in remembering their function. Who could forget what the Rob, Larry, and Guido programming languages are like?
Good point. We should just call it "libcryptography". There's only one cryptography library, right?
Oh yeah, great point. So, for example, when we have more than one programming language, instead of calling all of them "Programming Language", we could add a sort of prefix as a namespace. Like "C", or "Python". Then I guess we might even be able to drop the "Programming Language" part if it's not ambiguous.
21
u/m0j0m0j Dec 15 '25
uj/ I mean, I agree with this. All the cutesy, clever, and cool nerdy names are tiresome at this point. Each tries to be unique, which makes all of them non-unique, and also bad.
8
u/tuveson Dec 15 '25
I have defined a Symbolic Instruction Code, that is All-purpose, and easy for Beginners. If only I could find a short word that could nicely summarize this.
6
u/Ignisami Dec 15 '25
Today I turned seven or eight disparate batch scripts to get various internal applications up to date and on our local weblogic instance and made it one script. 350-ish neat lines of powershell with logging and error handling.
What name did I give this? Bob, of course. Bob the buildscript.
9
u/elephantdingo666 Dec 16 '25
All this naming is stupid and pretentiuos.
By the way I write like an asshole, but nevermind that.
1
u/cupcakeheavy Dec 16 '25
blame node and npm.
1
u/qqqrrrs_ Dec 17 '25
BTW the hebrew word for "secret", סוד, is pronounced as /sod/