3 ms·
This is a) ten years old, b) fairly out of date, and c) much more passive-aggressive and opinionated than people sharing it seem to think it is. I mean, in the
by unfocussed_mike 5y ago
This is a) ten years old, b) fairly out of date, and c) much more passive-aggressive and opinionated than people sharing it seem to think it is.
I mean, in the "stances", just as an example -- "a language must be concise"?
Really? It must? I think this is inappropriately assertive. IMO the better JS I have seen has avoided some of the more unnecessary conciseness. And that is before we discuss the worst example of "conciseness" thinking in a generation: JSX.
PHP and its community is, if you want a different opinion, more mature, more pragmatic and entirely less screwed up than Node.js, which is, to borrow the terminology, a fractal of indiscipline.
PHP's developers and its wider community have gone about fixing problems while NPM just seems to create new ones.
(The author of that post is in fact a Python fan, which makes it even more chucklesome when looked at over a ten-year timescale. One of the two languages managed to bring developers along for that whole decade with a campaign of carefully planned major improvements and deprecations, without causing major schisms, and it wasn't Python.)
- throw_m239339 5y ago> This is a) ten years old, b) fairly out of date, No, most of the problems listed still exist in the language. PHP Core didn't fix these, they just added more features on top of them. Take this part: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/#operators https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/#... Can you tell me which assertions aren't true as of 2022?
- francislavoie 5y ago> [] can be used on any variable, not just strings and arrays. It returns null and issues no warning. It warns, will likely become an error in a later version (these are being slowly increased in error level to give people time to migrate): https://3v4l.org/qQdSP https://3v4l.org/qQdSP > The [] indexing operator can also be spelled {}. Not anymore: https://3v4l.org/jtjCj https://3v4l.org/jtjCj > Unlike (literally!) every other language with a similar operator, ?: is left associative. So this: Not anymore: https://3v4l.org/t8io2 https://3v4l.org/t8io2 Regarding string/number comparisons: https://wiki.php.net/rfc/string_to_number_comparison https://wiki.php.net/rfc/string_to_number_comparison
- conradfr 5y agoMost of the things in that article that are still true don't actually come up on a day to day basis for professional coders with a good framework and a decent IDE (basically PhpStorm).
- nanochad 5y ago
- nanochad 5y ago