Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes. And you might quibble about the exact criteria. But by almost any metric, old-style PHP was an awful language.

(Facebook's re-invented Hack isn't nearly as bad. It's about the best language they could have made starting from PHP.)



There was an article about PHP that summarized some of its issues back in the day: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

I think that it was excellently written and actually mentioned concrete issues, rather than vague personal dislikes. That is good, because you can revisit those in 10 years or so and see how many of those have been fixed in the actual language.

Someone actually tried to address a few of those: http://maettig.com/2020-09-16-revisiting-a-fractal-of-bad-de...


Thanks for the second link! It's good to see someone (sympathetic to PHP) address the issues reasonably objectively.

That's part of why I carefully wrote 'old-style PHP'.




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

Search: