Re:Ask HN: Does Java need a modern Java UI toolkit for deskt...
by icedchai on Thursday March 24, 2022 @12:55PM
(#30792477)
Whenever I do a "du" on a node_modules directly, I am always amazed! How did we get here?
Re:Ask HN: Does Java need a modern Java UI toolkit for deskt...
by nobleach on Thursday March 24, 2022 @02:11PM
(#30793484)
We said that we were adopting the Unix philosophy of doing one thing, and doing it well. While at the same time, we wanted to avoid the dependency hell that plagued other systems. So we allowed each dependency to specify its own version of dependencies. The graph grew to an unmanageable mess. I realize you may already know this, but perhaps someone reading these comments could benefit.
Every organization with whom I've been affiliated since 2017 has a fairly strict policy of dependency audit. Dependencies are NOT allowed to be added unless there's a really good reason. And even then, we pay a lot of attention to what that dependency will bring with it.
There's projects like deno and esbuild that should help mitigate those issues, and Yarn's Plug'n'Play to reduce file amount and size overhead by using .zip files and centralized repositories. I mean it's only a patch but still.