I used to work way back in the day on PHP too, but even though I'm sure this will be downvoted, it's really sad people still take it seriously as a language in 2023. There's nothing remotely elegant about it. It's not expressive or programmatically succinct in the way Ruby is. It's not beautifully well thought-out the way Python is. It's not fast and modern in the way Rust is. It's not elegant or composable or client…
Sorry to be dismissive, but elegance, expressiveness or succinctness are not mandatory for "making things". Gatekeeping a programming language on esthetics is quite shallow in my opinion. Ease of use and deployment, breadth, availability, low cost of maintaining, are sometimes more important, and PHP offers plenty of value in these respects. I don't want to work with it, but I will never presume to look down on peopl…
PHP in 2023
51–60 of 285 posts
Re: PHP in 2023
#52[dead]
Both of those are currently hobbyist projects. They may develop further and become useful to the average PHP dev, but they're definitely not there yet.
The goal isn't to completely replace PHP but to complement it. You can think of it like a playground for future PHP syntax. Something could be added to PXP and released in a week, PHP on the other hand has 1 big release a year. If something is successful and widely used in PXP, then it could be a contender for PHP core.
Re: PHP in 2023
#53Why would a new project in 2023 choose PHP over anything else (modern Java, Kotlin, C#, etc.)?
Re: PHP in 2023
#54[dead]
Re: PHP in 2023
#55I used to work way back in the day on PHP too, but even though I'm sure this will be downvoted, it's really sad people still take it seriously as a language in 2023. There's nothing remotely elegant about it. It's not expressive or programmatically succinct in the way Ruby is. It's not beautifully well thought-out the way Python is. It's not fast and modern in the way Rust is. It's not elegant or composable or client…
I might be misinterpreting "taken seriously" with utility, but to me it is very valuable that a PHP script can just be dropped on almost any web server and it can start doing stuff, and that alone is reason enough not to not dismiss it.
Re: PHP in 2023
#56The ecosystem around Laravel is really incredible and unlike any other framework. They have libraries for every stage of a web application from taking payments all the way down to server management and hosting.
They even have awesome libraries like Inertia which are built for Laravel but can be used with other frameworks.
It's the only reason I still stay fresh on my PHP.
Re: PHP in 2023
#57[dead]
What's the point? You can use types in the vast majority of places in PHP and it works well, so I don't really see the point of that instead of contributing to the native typing system.
Re: PHP in 2023
#58I used to work way back in the day on PHP too, but even though I'm sure this will be downvoted, it's really sad people still take it seriously as a language in 2023. There's nothing remotely elegant about it. It's not expressive or programmatically succinct in the way Ruby is. It's not beautifully well thought-out the way Python is. It's not fast and modern in the way Rust is. It's not elegant or composable or client…
I’ve made a few “serious” projects with PHP and has been great, I never feel like I’m fighting against it to do what I need to do, the code can be very concise, its very fast and has a lot of batteries builtin. Python is not beautifully well thought out, the syntax is awful and the version conflicts make it a mess. You’re comparing to React which is not a language or in the same domain is confusing and makes me doubt…
They both render HTML and do it in a very different way.
Re: PHP in 2023
#59I used to work way back in the day on PHP too, but even though I'm sure this will be downvoted, it's really sad people still take it seriously as a language in 2023. There's nothing remotely elegant about it. It's not expressive or programmatically succinct in the way Ruby is. It's not beautifully well thought-out the way Python is. It's not fast and modern in the way Rust is. It's not elegant or composable or client…
Re: PHP in 2023
#60I used to work way back in the day on PHP too, but even though I'm sure this will be downvoted, it's really sad people still take it seriously as a language in 2023. There's nothing remotely elegant about it. It's not expressive or programmatically succinct in the way Ruby is. It's not beautifully well thought-out the way Python is. It's not fast and modern in the way Rust is. It's not elegant or composable or client…
I’m amazed that it’s been so long and no other language comes close to that :(