this post was submitted on 14 Jul 2023
332 points (90.9% liked)

Programmer Humor

32589 readers
933 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] mikegioia@lemmy.ml 32 points 1 year ago (4 children)

Hating on php is one of the reasons i left reddit. This is just people who don’t use php hating php for some reason. You can do dumb examples like this for any language. Low effort and funny for children.

[–] deaf_fish@lemm.ee 7 points 1 year ago (2 children)

Your feelings are valid. I wonder though, would you put up this level of defense for posts making fun of arbitrary parts of non PHP languages?

You are not your favorite language. And I find most criticisms of most languages to be very valid. I don't think the intent of OP is to insult all PHP programmers. It's okay to like a language that has problems. All languages do.

[–] Doug@midwest.social 6 points 1 year ago

I'd wager prevalence is part of their problem. Jokes get tired after a while, but that doesn't always mean they stop.

PHP, like any language, has its problems, but it seems to get poked at a lot more often. But making the same joke over and over has been a problem long before reddit was a thing.

[–] mikegioia@lemmy.ml 1 points 1 year ago (1 children)

PHP gets a totally disproportionate share of hate and that is the problem. Children like to dunk on PHP and a group mentality pushes it even more.

[–] deaf_fish@lemm.ee -1 points 1 year ago

Maybe it does. Maybe it doesn't. This is the first post I have seen pointing out a flaw in PHP on Reddit or Lemmy. If you ask me JavaScript gets it the worst out of all of the languages. I don't see those guys whining.

What I will say is that the majority of PHP developers I interact with on this post has led me to believe that there is a number of PHP developers that take things way to personally that they really shouldn't. Seriously you guys aren't doing your language any favors. No one's going to want to join the whine club.

[–] Heavybell@lemmy.world 5 points 1 year ago

Hey, I hate php AND javascript, and I've worked in both of them. :P

[–] BinarySystem@lemmy.fmhy.ml 3 points 1 year ago (1 children)

I took this more as a light-hearted poke at a silly edge case. As someone who used to build static analysis software for various languages, including PHP. This gets a chuckle out of me as it takes me back to having to deal with these exact types of edge cases.

[–] mikegioia@lemmy.ml 1 points 1 year ago

The title of this post is calling php a “meme” did you read that part? Then it just uses some stupid ternary example no one does and that other languages exhibit so what is the point other than purely hating on php?

[–] ezchili@iusearchlinux.fyi 2 points 1 year ago (1 children)

I used php for 2 years and I hate on it it's not just people who've never used it

[–] mikegioia@lemmy.ml 1 points 1 year ago (1 children)
[–] nailbar@sopuli.xyz 4 points 1 year ago (1 children)

The comment above claimed only people who never used PHP hate on it. The point was a counter claim to that.

[–] mikegioia@lemmy.ml -3 points 1 year ago (2 children)

Ok I can add another group to my list then: bad php developers

[–] ezchili@iusearchlinux.fyi 2 points 1 year ago (2 children)

Good developers don't get tribal about the tools they use

It makes them able to switch away from them for better ones

I use typescript now

[–] mikegioia@lemmy.ml -3 points 1 year ago (2 children)

This entire thread is a tribal post that I had a problem with!! You don’t seem to understand this but I don’t care.

[–] ezchili@iusearchlinux.fyi 1 points 1 year ago

Pointing out what sucks in a language isn't tribalism, calling people "bad developers" when they don't like your tool on the other hand, ...

[–] ezchili@iusearchlinux.fyi 0 points 1 year ago* (last edited 1 year ago) (1 children)

Hard sell. Calling people you know nothing about “bad developers” because they don’t like your tool on the other hand, that was cringe as hell and just made you look like you somehow tied your self-worth to php. "If my tool gets criticized; that means I'm being criticized!"

If you don't give in to that, you start to see "Oh, that bug wouldn't have happened if I'd been using [x]" and you become a better developer

When a woodworker cuts iself with a bandsaw, people who do what you do scream "He's a bad woodworker!"

And while they're screaming, we invented guardrails

[–] mikegioia@lemmy.ml -3 points 1 year ago (1 children)

Gotta block you. This is nothing I want any part of.

[–] ezchili@iusearchlinux.fyi 0 points 1 year ago* (last edited 1 year ago)

Dude who gives a shit to know that

[–] balls_expert@lemmy.blahaj.zone -1 points 1 year ago (1 children)

level 1: "this argument is worthless because you are stupid!"

level 300: "everyone who hates php is just an idiot tbh"

Just standard discourse from the php community

[–] mikegioia@lemmy.ml 2 points 1 year ago (1 children)

There are reasons to dislike a language, but there are no reasons to hate a language, certainly not one that is as ubiquitous as PHP. There's no argument you could make for why someone hates a programming language.

Introducing bugs into code way more often than others with similarly skilled programmers is one good reason to hate it...