3 ms·
If I depend on library A and B which both depend on the standard library, I have a diamond dependency. How is that bad design?
by Too 8y ago
If I depend on library A and B which both depend on the standard library, I have a diamond dependency. How is that bad design?
- Boulth 8y agoStandard library is usually an implicit dependency. Which package manager makes you explicitly name and version std lib?
- chriswarbo 8y agoCabal is one example, which requires packages like `base` to be specified explicitly. Cabal runs a dependency solver to satisfy most dependencies, but for compiler-provided things like `base` it simply checks whether or not the requirement is satisfied by the compiler being used (if not, it bails out).