On Sat, Apr 8, 2023, 5:47 PM Dan Liebner <dlieb...@gmail.com> wrote:

> I agree with the OP's sentiment here. If I was starting a codebase from
> scratch today, I'd probably go with Node. I find that writing modern
> JavaScript is way easier than writing PHP these days, and the breaking
> changes in newer PHP versions make writing code harder rather than easier.
> PHP is the foundation for many legacy codebases, and breaking old projects
> isn't really a great selling point of new PHP versions.
>
> Hopefully this scenario will affect enough people that 7.4 will continue to
> be maintained by some group of people into the foreseeable future.
>
> Best,
> Dan
>

Can't disagree with this statement. I love PHP. I have been working with it
for 13 years now. I can also make things work with PHP 8+ and I get what it
brings. But the cost is catastrophic. If you have a legacy codebase hanging
over your head you probably know how hard it is to upgrade it. If you have
greenfield project with SA and 100% coverage, it's a peach.

But what's the point of starting a greenfield project in PHP while
Typescript is right there? The cost of PHP maintenance and it's bad
reputation certainly makes it a language only for those that got hooked
into it a decade ago and not something that makes sense to recommend for
newcomers. With each deprecation, PHP pushes out more devs and companies
into a different path.

>

Reply via email to