by slang800 · 3y ago · 0 comments
I don't know if this is still true, but the impression I got at the time was that PHP is constantly trying to catch up with more advanced languages. There was no case I could point to and say "PHP is the best choice for this".
If I want to write a highly concurrent distributed system I'll reach for Elixir/OTP. If I want high performance, I'll reach for C or Rust. If I'm working on a data science project, I'll reach for Python or R. When is PHP the language to go to?
You've got Ruby on Rails and Elixir/Phoenix which both have an enjoyable developer experience and a well designed language.
There's JavaScript & Node.js where the language is a bit of a mess but the ecosystem is huge. Plus the same language can be used on the frontend and backend.
Python is extremely popular with Django, FastAPI, and Flask.
C# is also extremely popular with ASP.NET Core, although I've never used it.
(Next time I try web CRUD, I'll try it in Haskell. It seems to have let the more traditional languages behind.)