▲ | CyberDildonics 4 days ago | |||||||
Like the other person said, you're mixing up single file libraries with having no package manager or dependency management. That being said in C and C++ the single file libraries typically have no dependencies, which is one of the major benefits. Dependencies are always something that a programmer should be completely clear about, introducing even one new dependency matters and needs to be thought through. If someone is blasting in new dependencies that themselves have new dependencies and some of these overlap or are circular, and nothing is being baked down to standing alone it's going to end in heart break and disaster no matter what. That basically the opposite of modularity, a web of dependencies that can't be untangled. This applies to libraries and it applies on a smaller scale to things like classes. | ||||||||
▲ | Bratmon 4 days ago | parent [-] | |||||||
If the goal of your dependency system is to discourage people from adding dependencies, then isn't supporting single-file libraries counterproductive because it makes it easier to add new dependencies? | ||||||||
|