6 ms·
I'm not sure why you included php in your list of examples of things that become bloated with dependencies. I've never seen that be the case.
by 2024throwaway 2y ago
I'm not sure why you included php in your list of examples of things that become bloated with dependencies. I've never seen that be the case.
- sleepybrett 2y ago[flagged]
- 2024throwaway 2y agoI just opened the composer.json file for a complex PHP application, it has 20 imports, total. I just opened the package.json for a react frontend, it has 80 imports. I just opened the Gemfile for a complex rails application, it has 150+ imports. But sure, I'm just trolling I guess.
- deleted 2y ago[deleted]
- nasretdinov 2y agoLook at your list of built-in modules though :)
- 2024throwaway 2y agoSo stdlib counts as dependencies now?
- nasretdinov 2y agoWell stdlib normally doesn't have stuff like Oracle drivers and such. I think one of the reasons why PHP tends to need so few external dependencies is because it has so many extensions to cover basically anything that you don't need PHP libraries all that much. I don't personally see it as a bad thing but it's something worth considering.