
On Tue, 14 Sep 2021 14:03:30 +1200, Peter Reutemann quoted:
-- source: https://arstechnica.com/gadgets/2021/09/php-maintains-an-enormous-lead-in-se...
Their link to the “Why PHP Sucks” page <https://whydoesitsuck.com/why-does-php-suck/>, while it is several years old, still manages to remain pertinent. I like this description (read the article for a longer quote): ... Now imagine you meet millions of carpenters using this toolbox who tell you “well hey what’s the problem with these tools? They’re all I’ve ever used and they work fine!” And the carpenters show you the houses they’ve built, where every room is a pentagon and the roof is upside-down. And you knock on the front door and it just collapses inwards and they all yell at you for breaking their door. That’s what’s wrong with PHP. Note also this revealing quote about design philosophy from Rasmus “Mr PHP” Leerdorf himself: There is code, it sort of works, that’s what we go with, that’s always been the default. It doesn’t always lead to consistency but it does lead to getting the features and actually being able to do something. […] at least it gets you there. […] We’d rather have an ugly feature than not having a feature at all. That same site also as a “Why JavaScript Sucks” page, but that one hasn’t aged so well.