Monday 30 January 2023

New top story on Hacker News: Ask HN: Why does every package+module system become a Rube Goldberg machine?

Ask HN: Why does every package+module system become a Rube Goldberg machine?
3 by jamesfisher | 0 comments on Hacker News.
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

No comments:

Post a Comment