HACKER Q&A
📣 jamesfisher

Why does every package+module system become a Rube Goldberg machine?


A programming language has a "core language" plus a package/module system. In each successful language, the core language is neat-and-tidy, but the package/module system is a Rube Goldberg machine. See JavaScript/TypeScript, Python, or C/C++.

Lots of brain cycles are spent on "programming language theory". We've roughly figured out the primitives required to express real-world computation.

In contrast, we apparently have no "package management theory". We have not figured out the primitives required to express dependencies. As a result, we keep building new variants and features, until we end up with

Web Analytics Made Easy - Statcounter