1074

Source.

Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!

you are viewing a single comment's thread
view the rest of the comments
[-] darvit@lemmy.darvit.nl 43 points 2 weeks ago

Everyone in this thread: PHP sucks because it was bad when I last used it 20 years ago.

[-] ICastFist@programming.dev 18 points 2 weeks ago

It's still bad nowadays, and it's the main language used on pretty much every system of several state level secretaries in Brazil. My colleagues work with it daily (I don't program, thankfully) and they're not exactly fond of it. Legacy systems, man

[-] dreadbeef@lemmy.dbzer0.com 10 points 2 weeks ago* (last edited 2 weeks ago)

Backend devs: JS sucks because I never learned it actually

[-] TheKingBee@lemmy.world 9 points 2 weeks ago

I mean it does suck, but it sucks less than anything else we have.

[-] balsoft@lemmy.ml 13 points 2 weeks ago* (last edited 2 weeks ago)

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).

[-] ICastFist@programming.dev 8 points 2 weeks ago

Nah, i'd say java has been better than PHP overall

[-] InternetCitizen2@lemmy.world 5 points 2 weeks ago

That's also 30 years old, old man!

[-] sukhmel@programming.dev 6 points 2 weeks ago

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)

[-] zalgotext@sh.itjust.works 6 points 2 weeks ago
[-] PolarKraken@programming.dev 5 points 2 weeks ago

FastAPI ftw, fight me! Lol jk Django is cool and useful and serves a different need, quite well from what I understand.

[-] zalgotext@sh.itjust.works 3 points 2 weeks ago

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.

[-] richieadler@programming.dev 1 points 1 week ago

You may like Django Ninja with a dash of FastAPI-HTMX or Fasthx.

[-] PolarKraken@programming.dev 1 points 2 weeks ago

Dangit. That's me too, I just saw your comment before posting one myself 😅

this post was submitted on 19 Jul 2025
1074 points (100.0% liked)

Programmer Humor

25457 readers
1013 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

founded 2 years ago
MODERATORS