this post was submitted on 19 Jul 2025
994 points (98.4% liked)

Programmer Humor

25111 readers
695 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
 

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
[–] bitcrafter@programming.dev 4 points 1 day ago (4 children)

I exercised all client side JavaScript from an app I maintain. It’s fast, clean, and the back button always works. I just checked on one of the more complicated pages, and according to Firefox’s memory profile, it takes about 2.6MB of RAM.

Wow, that really is a light weight! What exercise do you have your code perform to get such impressive results?

[–] frezik@lemmy.blahaj.zone 2 points 1 day ago (3 children)

No JavaScript, just HTML and CSS. Basically no images. The heaviest page dumps 50 rows of logs in a table.

It's admittedly a fundamentally simple frontend, but we all know of frontends with a simple job and a not so simple frontend.

[–] bitcrafter@programming.dev 3 points 1 day ago (2 children)

Ah, so it sounds like it was more about dieting than exercising.

[–] frezik@lemmy.blahaj.zone 1 points 1 day ago* (last edited 1 day ago) (1 children)

I was thinking more in the sense of an exercisism.

[–] bitcrafter@programming.dev 2 points 1 day ago

The belief that exercising one's code is good? I am certainly all in favor of testing, to be sure!

(Sorry, I have been having some playful fun at your expense: the actual word you have been reaching for is excise, e.g., "If only I had exercised more, then I would not have developed a tumor requiring excision!")