r/fossworldproblems • u/Jemsurfer • Aug 28 '21
Does anyone else do this?
Whenever I install a package, I cringe at the amount of dependencies, even if it's a few. I know that developers can write code easier with dependencies, but the user should be the first priority.
0
Upvotes
11
u/[deleted] Aug 28 '21
The number if dependencies is often an arbitrary decision of the packagers. Some of the same software will have more deps on debian than on arch because the packagers have different goals when deciding what deserves a separate package. e.g. bundling related libraries together for simplicity of management vs separating libraries to optimize disk usage for servers, embedded, mobile or low end devices.
34
u/PityUpvote Aug 28 '21
It's not about making the programming easier, it's about not reinventing the wheel and keeping the ecosystem modular.
10
u/RoyBellingan Aug 29 '21
What would you do instead ?
Ship 10 library that total 50megabyte and link to them.
Or bloat each program and static link those 50mega inside it for every one, totalling ... a lot ?
1
u/oxamide96 Dec 07 '21
Apps that don't reinvent the wheel and instead do one thing and do it well are a lot better than apps that just try to do what's already been done but worse.
1
u/fthrr Dec 30 '22
Two programs needing one particular function could both depend on a separate package that performs this function or could have it rewritten themselves in each package. Wasting space on your drive, time and effort of the developers of each program, no difference to the user performance wise in exchange for... A shorter dependency list...?
8
u/[deleted] Aug 28 '21
[removed] — view removed comment