News for hackers. Stuff that matters.
Re:My PHP Problems by esquire_900 on Monday February 19, 2024 @06:59AM (#39428837)
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.

Re:My PHP Problems by amne on Monday February 19, 2024 @08:43AM (#39429624)
I can't for async/await to reach PHP and see code that awaits 5 queries and 3 http requests in a row. Perfection.
Re:My PHP Problems by woutersf on Tuesday February 20, 2024 @02:18AM (#39438781)
This sentence does not make sense and still I understood it perfectly. It's the reason I love PHP over JS.