this post was submitted on 16 Jun 2023
84 points (96.7% liked)

Programmer Humor

32560 readers
1118 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
[–] decavolt@kbin.social 5 points 1 year ago (5 children)

People sure like to dunk on PHP. I'll take whatever flak for this, but this is the kind of meme a .NET fanboy or Ruby on Rails bro would make when they haven't touched any languages other then their prescious, and don't know wtf they're talking about.

PHP, after all these years, is STILL running 78% of all sites. That's not because it's garbage or the worst. It's solid, reliable, mature and very well documented. And I say this as someone who has gladly moved to Python, but also work in in others.

[–] Worthstream@lemmy.one 3 points 1 year ago (1 children)

Most of the hate for php was born back in version 3 or 4, when it was a mess. Also a lot of people who where in college in those years learned php as a first language.

Combine a language that does not enforce good coding practices and a lot of people making their first website, and you get some pretty horrible codebases.

As part of my job is to maintain legacy php websites, I've seen lovercraftian nightmares. I love modern php, but I get where all this hate is coming from.

[–] VerifiablyMrWonka@kbin.social 0 points 1 year ago (1 children)

I've seen lovercraftian nightmares

I love this.

[–] Worthstream@lemmy.one 1 points 1 year ago

Once I had to fix a website with everything in the same script. Every page, every bit of html with inlne CSS and Javascript, was there in a gigantic sequence of else if, with functions (with embedded business logic) to output the common bits.

I mean, the streets of R'yleh were more navigable than... that.

[–] retiolus@lemmy.cat 1 points 1 year ago

I'm a Python guy ✌️, this is a meme

[–] axtualdave@lemmy.world 1 points 1 year ago

Popularity doesn't necessarily imply good. For example, we used to put lead in all the gasoline.

People who say those things usually don't know the language very well or haven't used it at all. I see the same with JavaScript. I don't get why some programmers are so ignorant.

[–] firelizzard@programming.dev 1 points 1 year ago

PHP was the first language I did any significant coding in. I will never use it again if I can at all avoid it.