3 ms·
>You can argue that PHP is easy, and you won't hear a peep from me. PHP still exists because, to this day, I can spend $5 on a cheap shared host, upload a PHP f
by lmm 13y ago
>You can argue that PHP is easy, and you won't hear a peep from me. PHP still exists because, to this day, I can spend $5 on a cheap shared host, upload a PHP file, and see a website. I have no doubt whatsoever that the continued existence of PHP is thanks to the widespread adoption of Apache and mod_php.
>But I've never heard an argument that PHP is a good, or even acceptable language, except from a) those with a deep investment in PHP, and b) those who have never used anything else.
It's funny/sad how closely this mirrors my feelings about Javascript
- jeffasinger 13y agoJavascript is a much, much better language from a design perspective than PHP. However, that being said, Javascript definitely has some pretty major warts.
- jack9 13y ago> Javascript is a much, much better language from a design perspective than PHP. That's not even remotely true. That's an oft-repeated opinion. A rational person is humble enough to recognize it. The criticisms made of PHP (especially in the Fractal rant), are not a bar for what is or is not "better". There's very little data to show inconsistent naming penalties versus prototypical inheritance penalties in development over an arbitrary amount of time, with or without tooling, etc. There's so many different ways to measure development, "better" is used as an inflammatory proxy for "how I feel".
- Gonzih 13y agoThere are already lot of things that can be compiled to JS, so terrible javascript can be used only as some kind of assembler for the web. And at least JS has powerful fast runtimes.