Forced/unnatural/unnecessary naming

Oh but it is. Let's check the dictionary definition of "crate": CRATE | English meaning - Cambridge Dictionary

Apart from the details of being a box made of wood and the like we find such things as:

a packing crate

to put something into a crate, especially in order to move it

packing, storing, or sending things

used for storing or transporting things

Don't you start to get the feeling that this ancient but still commonly use word, apparently related to "cart", with heavy connotations of packing, sending, delivering, transporting things is just perfect for what Rust crates are and do?

Amusingly "crate" as a delivery mechanism in the Rust language is now included in the definition of the word "crate". For example see here: crate - Wiktionary, the free dictionary

Now that you have me thinking about it... the word "library" now feels all wrong as a name for a bunch source (possibly delivered as compiled binary) in C, C++ and the like. Libraries are all about books. A C library is more like a single book to me. It may have lot's of chapters (functions) but they are all on the same subject. No, "library" more aptly describes a place like github where you go to get all those C books.

I feel you are barking at the wrong tree here.

4 Likes

Moderation note: The question has been answered, so I'm going to lock this thread.

12 Likes