by fooblitzky · 4y ago · 0 comments
I think there's interesting research and ideas to find in this area, that could lead to a productivity boost. One example idea (I'm sure there are better ones) would be allowing simultaneous use of multiple versions of a library. E.g. This dependency I'm consuming uses CommonLibrary-1.2, and this other dependency uses CommonLibrary-2.4, but they can both get along just fine without having to find some combination both dependencies can agree on.
Thats called private dependency, and overusing it lead to the node_modules hell (because it was/is the default on npm).
IMO, a way to reduce maintenance on updating dependencies, is having automated code modification that are ran when updating the dependency.
See the article’s points on «forward- and backwards-compatibility» and «content adressable code».
The latter has implications for library and package management. Someone expanded quite nicely on it elsewhere in this thread.