top | item 39428837

(no title)

esquire_900 | 2 years ago

This is a bit too much of an apples vs oranges. Use cases for PHP (easy to develop, maintain websites) are different from those for Go and Rust.

Obviously, PHP came from a place of great inconsistency, and the remains are still there, including the popularity to rant on it. PHP is getting significantly better though, and while a long one, I hugely prefer this route over something more abrupt like python 2-3. The first 3 or so points are valid, but annoyances at best. For the points about closures, statements, inline classes etc., they are just features from other languages that aren't in PHP.

discuss

order

amne|2 years ago

I can't for async/await to reach PHP and see code that awaits 5 queries and 3 http requests in a row. Perfection.

woutersf|2 years ago

This sentence does not make sense and still I understood it perfectly. It's the reason I love PHP over JS.