3 ms·
As itself, bundling dependencies is not necessary a bad thing, but it often leads to really bad practices. Once you bundle dependencies, you make the choice of
by kakwa_ 11y ago
As itself, bundling dependencies is not necessary a bad thing, but it often leads to really bad practices.
Once you bundle dependencies, you make the choice of having to track those dependencies for security fixes and bug fixes. Otherwise you end up exposing bugs and security issues to your users.
Too often, I've seen applications (specially in the "Enterprise" Java World) with hard pinned versions from 2, 3, 4 and even more years old, with tons of bugs and tons of security issues.
Bundling make sense in many cases, for example if you distribute a product, it permits to control most of the stack and to factor maintenance across several platforms.
Not bundling also make sense, for example if you are a distribution, you have tight control over what put in, and it reduces the effort to maintain stuff because you don't have to track x, y, z each in versions n, m, o.
Bundling or not is a trade-off, either way, it must be done properly.
Dependency handling is a complex task, and yeah, it sucks. And it's not technically that the problem will be solved, it's with proper organization, conventions and normalization.