News for hackers. Stuff that matters.
Re:My temporary PHP fix from 2014 has nearly 20M installs. T... by wat10000 on Thursday September 17, 2026 @09:56AM (#49740822)
I don’t think it ever made sense. Code reuse improves efficiency when the code can be shared in memory, or when it needs to be updated and you only have to change it in one place. JS packages don’t give you sharing beyond what you’d get from copying the code. And these little things don’t need to be updated, and in fact you probably don’t want them to be.

It’s a case of doing something without understanding why it’s done. Packages are good, code sharing is good, so use it for everything. But it misses why they’re good.

Re:My temporary PHP fix from 2014 has nearly 20M installs. T... by junon on Thursday September 17, 2026 @12:04PM (#49742774)
This is all very easy to say in hindsight. It's missing the context of having been there, I think. Things were just different.

Also, way more fun.

Re:My temporary PHP fix from 2014 has nearly 20M installs. T... by wat10000 on Thursday September 17, 2026 @12:07PM (#49742831)
I was definitely saying it at the time. But I wasn't embedded in the ecosystem, it was very much "those JavaScript guys are nuts, why would they do this?"