Something I found the other day, typed parameters won't error if you change the type, even with strict_types turned on:
function foo(string $foo) {
$foo = 10;
}Do I think dynamic languages are terrible and hate all three of the above? Yes.
Do I think modern, idiomatic PHP still suffers from most of TFA's examples of bad design? No.
PHP reminds me of my socially awkward uncle who is endearing and means well and caused many cringes & me and my sister to laugh with his faux pas.
I love reading articles about its bugs. The Mr Bean of programming languages.
We need PHP just as the film industry needs its gaffer tape. It's just that we have a very good standard of Gaffer tape (357 or "perl" in programming). It is kinda expensive though in dollars or cognitive cycles. So sometimes we use the inferior stuff that is not the standard 357. But then, we find, after the film bumps out - it caused you to rip the paint off the floor in the venue the film hired and not get your $10,000k deposit back.
We need to have our humour.
There will be a few HN commenters who say they still use Laravel or something, but in reality it's a tiny percentage of people using it now.