3 ms·
I don’t have 500 direct dependencies. I have four. But they each have five, and those have five, and those have five. At any level, there’s probably a library
by derefr 9y ago
I don’t have 500 direct dependencies. I have four. But they each have five, and those have five, and those have five.
At any level, there’s probably a library that solves a large part of your problem. From your perspective, you only need “a few” of those. But from the library author’s perspective, they also only need “a few” of those. And on and on, down the chain. Each step seems reasonable, but suddenly the tree has 500 nodes.
Some library authors try to make sure their library doesn’t have dependencies. But that’s how you get libraries like Qt, that take two hours to build and produce 35MB .so files.
- Klathmon 9y ago>Some library authors try to make sure their library doesn’t have dependencies. I can't count the number of times i've looked at a potential dependency only to find that they have massive bugs in some auxiliary part of the library that they decided to do themselves in an attempt to "avoid dependencies". We have these tools designed to handle a complicated network of dependencies, use them! Don't implement your own cute way of parsing XML just because you want to avoid dependencies! Let the library that is focused on just parsing xml, well tested, widely used, and actively maintained handle XML parsing!