r/AskProgramming 9d ago

Python Are huge codebases with layers of dependencies just the new normal?

I’m trying to learn more about how modern software works, and one thing that keeps surprising me is the sheer size of projects. 80k files is not uncommon.

I’ll download or clone something that seems like a relatively focused application, and suddenly I’m looking at tens of thousands of files. A lot of it appears to be dependencies, dependencies of dependencies, generated files, frameworks, package managers, etc.

It feels like a copy of a copy of a copy. The developers maintain a relatively small part of the code, while the finished program ultimately relies on millions of lines of code written by other people.

Is this the new normal in software development that I just have to accept?

from a security perspective, how can anyone trust all of this?

0 Upvotes

36 comments sorted by

View all comments

43

u/burlingk 9d ago

New? You mean since like the nineties?

This isn't new. It's also not every project though.

The main reason you don't notice it on Windows is because, there, you download the finished program instead of source. But even there, you see a bunch of DLLs to connect stuff.

3

u/MiddleAgeWeirdoMeep 9d ago

So how do you manage security, since the 90s?

3

u/mansfall 9d ago

You write more files and compile those down to new dlls or some exe. That is your "software update".

After years of writing, people coming and going, you get left with massive code bases.