this post was submitted on 18 Jan 2026
22 points (82.4% liked)

Programming

26088 readers
154 users here now

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

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Today's software tools have weird names. We call a "library" some collection of functions that you can use in your program.

I think that software repositories (where apt downloads your programs from) should be the actual libraries, since that's where you go to get your information; Meanwhile individual packages of information should be called books because they are one solid object containing a bundle of information.

you are viewing a single comment's thread
view the rest of the comments
[–] dazeous@lemmy.ml 1 points 1 month ago

Agree with you on what we should represent as a software library. People tend to search and query for pockets of information in a library. Libraries tend to index and organise to make this easier. Libraries also tend to manage versions (aka editions) of this information. Where as individual packages manage isolated pieces of information; there can be a version set on them but they are unaware of other versions much like a book

However, in terms of calling individual bundle of information, books, might be a hard sell for everyone accustomed to what a book represents. Term which is rarely used in the context of a software system (maybe in accounting ledger-like systems). Book is a series of information bound by the context, a story, its trying to convey. Which is exactly what an individual package represents. Book is a package and that makes sense, going back in time, throwing weight on calling a package/bundle a book might have held well.

As you've mentioned, two other common terms are package and a bundle. So one way I could see myself looking at this is: a library, such as NPM/apt, contains packages, and a package is a book or a collection of associated books.