4 ms·
The same can apply to any use of libraries. 1. You depend on the library and its dependencies 2. Version controlling libraries is hard when you depend on A an
by EGreg 10y ago
The same can apply to any use of libraries.
1. You depend on the library and its dependencies
2. Version controlling libraries is hard when you depend on A and B both of which depend on C
3. Someone changes something in, say, npm and it breaks everything that depends on it. Also, security is only as strong as its weakest library.
4. Do you put everything in one monolithic library or have libraries require each other? Requiring is also a hierarchical graph.
5. Libraries may want to share pointers to the same objects, but then who owns them?
6. Libraries do things for you but sometimes you need to override or customize something, so that breaks encapsulation.
And so forth.