@Girgias @lig You are right, i do think the inclusion of python here is quite strange. But, and i'm steelmanning a lot here, the article explicitly says that pythons defaults lead to readable code, not good code. At least thats my read of it. I don't fully agree with that take either, but its a far more reasonable one, which, if it was made in a different context, wouldn't be that crazy.
at least the ecosystem in Python seemd to be embracing the optional typing more than what little i know of php.
I would have liked the article to actually... argue its point a bit more instead of listing supposed qualities in bullet points. I suspect that would have led the author to figure out that Python isn't a great example of what the overall message seems to be.
The php i have read was probably close to the worst example, a codebase which doesn't use any of the frameworks and just relies on global state etc exactly as the article criticises. I know i'll take Python over that kind of PHP any day, if those were the options. But i'm not saying i have an unbiased opinion there, after all i only know that one awful codebase and have been using Python for years...