this post was submitted on 21 Oct 2026
532 points (95.9% liked)

Programmer Humor

34208 readers
1002 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 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] anewfox@lemmy.zip 101 points 4 weeks ago* (last edited 4 weeks ago) (14 children)

i maintain that the reason everyone on the internet hates php is because the devs who write php code all day go home to their spouse and kids after work instead of arguing on the internet.

cuz, nobody really treats any other language like this, even though... gestures to npm and pypi's constant security flaws

[–] expr@programming.dev 48 points 4 weeks ago

We are fully capable of thinking PHP, NPM, and PyPi are trash simultaneously. Though it should also be said that only PHP has had decades of security flaws in the language itself, rather than a package manager.

It's just a very poorly designed language with countless footguns and fucking idiotic standard library functions, on top of being a running joke, security-wise.

[–] infinitesunrise@slrpnk.net 39 points 4 weeks ago

Yup, PHP is a workhorse language that pays the bills. Source: My bills.

[–] deegeese@sopuli.xyz 24 points 4 weeks ago

If you treat programming as a job, PHP is good because it lets you get things done.

If you treat programming as a craft, PHP is gross for a whole bunch of reasons.

[–] boonhet@sopuli.xyz 18 points 4 weeks ago

cuz, nobody really treats any other language like this, even though… gestures to npm

I usually see more Javascript hate than PHP hate these days, mostly because everyone had forgotten that PHP exists.

[–] lobut@lemmy.ca 16 points 4 weeks ago (1 children)

JavaScript gets a lot of shit and part of that's from me, a JavaScript dev.

[–] ChickenLadyLovesLife@lemmy.world 4 points 3 weeks ago (1 children)

The most insane thing I ever worked in was Qt Creator, which used JavaScript for the UI and C++ for the lower level back end stuff. The switching your brain had to do to go back and forth between the two languages was remarkable. I think Qt is the real reason the suicide and alcoholism rates in Finland are so high.

[–] lobut@lemmy.ca 2 points 3 weeks ago (1 children)

I used Qt before as a library for C++, never knew there was a Qt Creator but that was eons ago.

My heart goes out to all those Fins.

As long as they keep all those land mines on the border, they'll be fine.

[–] Skullgrid@lemmy.world 14 points 4 weeks ago

Nooo but how do I hecking pad things on the left?!?!!!1!! I need 600 npm packages before I can put a div on a page

[–] rumschlumpel@feddit.org 12 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

'ate php
'ate js
'ate java
love me python
love me plain html
simple as

love me plain html

I miss the days of creating web sites in Notepad.

[–] dohpaz42@lemmy.world 12 points 4 weeks ago

Big of true.

~It’s true. Am PHP dev.~

[–] sik0fewl@piefed.ca 11 points 4 weeks ago

I definitely treat npm the worst because it deserves it.

[–] FishFace@piefed.social 9 points 3 weeks ago

No other language is as popular but as shit.

https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

Php improved a lot since that article was written but anyone who had a) sense and b) choice stopped using it already. And there are many ways it continues to be fundamentally broken

[–] dgdft@lemmy.world 8 points 4 weeks ago* (last edited 4 weeks ago)

They hate us because of our ~~freedom~~ scp-to-prod pipeline

[–] Telemachus93@slrpnk.net 4 points 4 weeks ago

Well, JS is just as much of a joke to me. ;)

[–] carrylex@lemmy.world 3 points 4 weeks ago

i maintain that the reason everyone on the internet hates php

let me finish the sentence:

...because they knew about the vulnerability since 2024 and simply forgot about it.

[–] kuberoot@discuss.tchncs.de 0 points 3 weeks ago (1 children)

Or because people had bad experiences with it. Like hosting software built in PHP, which seems to have uniquely terrible hosting mechanics and version and dependency management.

[–] SkaveRat@discuss.tchncs.de 0 points 3 weeks ago (1 children)

Or really isn't. At least not for the last 15 or so years

[–] kuberoot@discuss.tchncs.de 1 points 3 weeks ago (1 children)

"Isn't" what? If you're referring to the hosting experience, I'm talking based on experience setting up some PHP software from the last year or two. Unless you just slap docker on it, it seems to be a pain getting php running, it might want a very specific version (extra pain to get that specific version running), and I remember dependency management giving me trouble, possibly also being weird with the older version of PHP.

[–] SkaveRat@discuss.tchncs.de 1 points 3 weeks ago

*It really isn't

every project I set up in the last 10 or 15 years was just "composer install" and done. (plus whatever configuration like DB etc you need)

Sure, might need to check what minimum version you need, but backwards compatibility is pretty good, so along a major version you can often just pick the latest

I don't know what weird projects you checked out, but that might just be on them instead of the language