Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


Standard library is usually an implicit dependency. Which package manager makes you explicitly name and version std lib?


Cabal 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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: