News for hackers. Stuff that matters.
Re:A look at modern PHP by romellem on Tuesday May 05, 2020 @04:58PM (#23084988)
The PHP deal-breaker is that it casts[0] string keys that contain "valid decimal integers" to "the integer type"?

Seems like a fairly minor language quirk (of which almost every language has) rather than a huge feature that makes one want to avoid the language at all cost.

Of course, feel free to make your own choice when picking a language, but I don't think this is a compelling reason why one would always want to avoid using PHP for their web backend.

[0]: https://www.php.net/manual/en/language.types.array.php

Re:A look at modern PHP by ragnese on Tuesday May 05, 2020 @06:43PM (#23086002)
I'm getting quite tired of the nonsense straw men in this discussion.

Do you truly believe that I articulated that there was exactly one reason that I think PHP hinders developer productivity?

And of course, we brought out the old "every language has quirks" apology. Yes, you can bang a nail in with a rock. But, don't. Use a hammer.

Do better, please.