this post was submitted on 19 Jul 2025
1072 points (98.6% liked)
Programmer Humor
25425 readers
1290 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I mean it does suck, but it sucks less than anything else we have.
PHP is far from "least bad language". Nowadays it is an ok language, one of many. You can also write ok code in it. The main issue is that it's really easy to write horrible shit that just barely works and will break when you look at it wrong. In fact without a lot of knowledge and experience that is the code you will probably write.
There are much better languages for any webdev niche you can think of, and some that are just better for webdev overall (e.g. Elixir). The reason PHP is still relevant is mostly huge legacy codebases that require a lot of engineering power to maintain (because PHP is not a good language for maintenance).
The way I look at it is that PHP is the C++ of webdev (but slightly worse).
Nah, i'd say java has been better than PHP overall
That's also 30 years old, old man!
A language usually doesn't become worse with time, at least if the devs do a good job at improving it.
There are cases of new languages that looked better but didn't become mainstream because the ecosystem requires time to grow (and adoption, which creates a vicious cycle because adoption requires ecosystem to already be there)
IDK, I like Django/DRF
FastAPI ftw, fight me! Lol jk Django is cool and useful and serves a different need, quite well from what I understand.
Lol I've used both, FastAPI is nice too! I think my ideal situation would be FastAPI's endpoints/routing, combined with Django's ORM and DRF's automagic serializers/viewsets.
You may like Django Ninja with a dash of FastAPI-HTMX or Fasthx.