Hacker News new | ask | show | jobs
by sdze 1205 days ago
Why would you change a successful product just because the "language evolves"? PHP is so successful precisely because it lets all the legacy code live.

To the contrary, with each PHP iteration, "bad code" is executed faster with fewer energy utilized.

1 comments

It’s not because the language evolves - which it does - but because Wordpress is built on bad patterns, abuse of legacy features, and simply heaps upon heaps of bad code.

This leads to PHP itself having to make bad compromises for the future to keep the Wordpress code of millions of websites running; this leads to developers wasting time trying to accommodate Wordpress in plugins and themes; this leads to new developers growing up with bad standards and outdated practices.

I’m not complaining Wordpress doesn’t follow the latest trends or won’t add arrow functions everywhere. I’m complaining they actively block the way to the future, like a senile senator with lots of unmerited influence and decade-old opinions.