Hacker News new | past | comments | ask | show | jobs | submit login

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.



Look at your list of built-in modules though :)


So stdlib counts as dependencies now?


Well 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.


[flagged]


I 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: