The term library in the context of software predates software repositories.
https://en.wikipedia.org/wiki/Library_(computing)
It’s basically as old as the computer itself.
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
The term library in the context of software predates software repositories.
https://en.wikipedia.org/wiki/Library_(computing)
It’s basically as old as the computer itself.
Literal libraries of punch cards.
what are sections, chapters, indices? Who's the librarian?
we don't need to go all the way into a metaphor
Late Fees!
sshhh 🤫
I think repository makes more sense than library. A 'repo' is also a large storage of something that is very often indexed and catalogued for easy retrieval as well. It also at least 'feels' more appropriate for something usually remotely accessed, like package manager repos.
Of course, my well has been thoroughly poisoned on this topic, but I generally agree with others that an analogy doesn't and shouldn't have to carry through all the way.
The metapor is that the individual package is a library of exported functions (the books). Package managers are more like inter-library loans in this metaphor, but I think that is pushing the analogy further than is useful.