this post was submitted on 16 Jun 2023
22 points (100.0% liked)

Programmer Humor

31907 readers
763 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 15 comments
sorted by: hot top controversial new old
[–] Otome-chan@kbin.social 5 points 1 year ago (1 children)

I'm just gonna go out on a limb and ruffle some feathers and say it's node.js

[–] pkulak@beehaw.org 1 points 1 year ago

Well, that’s a runtime. But yes, JavaScript.

[–] decavolt@kbin.social 2 points 1 year ago (3 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 1 points 1 year ago

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.

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

[–] NightAuthor@beehaw.org 1 points 1 year ago

@ernest@kbin.social

[–] TenorTheHusky@kbin.social 1 points 1 year ago

PHP has more $s in it than spez's eyes

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

WordPress has made me the Python developer I am today.

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

Yes, but WordPress !== PHP. It's one of the worst examples of what PHP can look like and they resolutely refuse to adopt modern standards or improve in any way. They still use SVN too. Bunch of backwards troglodytes.

[–] Worthstream@lemmy.one 1 points 1 year ago* (last edited 1 year ago)

Modernizing that project would be a nightmare. It's maybe the code base with the most plug-ins, and they should be supported while deprecating and gradually phasibg them out.

I'm working with a client that's built more code in custom plug-ins than Wordpress itself, I'm ambivalent on them not using a more modern code. On one hand it's hard to work with what Wordpress is right now, on the other rewriting all of those plug-ins is a monumental task.

But yeah, at least use git.

[–] lhx@lemmy.world 0 points 1 year ago

Yuuuuup. PHP is the worst.

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

Pretty sure brain fuck should be on this list.

[–] fubo@lemmy.world 1 points 1 year ago (1 children)

The point of "esoteric" programming languages like Brainfuck or Befunge is to be a source of puzzles for people who enjoy that kind of puzzle. They're not "bad programming languages" any more than an escape room is a "bad apartment".

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

me excited to try an escape room for the first time

Some scruffy dude watching anime on a tablet: "Key is taped to the inside of the lampshade. Flip the light off on your way out yeah?"

load more comments
view more: next ›