this post was submitted on 09 Sep 2025
450 points (98.3% liked)

Programmer Humor

26373 readers
1576 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
 
all 17 comments
sorted by: hot top controversial new old
[–] myfunnyaccountname@lemmy.zip 0 points 6 days ago

I vibe coded a 2000 line python program. It runs and does what I want. So many weird things in the code. But I don’t care. This code won’t be used to launch a space shuttle or even be used by anyone but me. It works…send it.

[–] Stupidmanager@lemmy.world 41 points 1 week ago (3 children)

Bleh. Late 90s I was a mobile pc tech and I could have used these gloves back then on some computers. People are gross.

[–] Cenzorrll@lemmy.world 15 points 1 week ago (1 children)

I wouldn't want any other person to touch my keyboard. I blame the lack of accessible cleaning supplies and the fact that if anyone higher up sees me not staring at my screen with a hand on the keyboard they'll think I'm lazy and not working. Which is true, but they don't need to be thinking that.

[–] zqwzzle@lemmy.ca 5 points 1 week ago

If you redlined a vehicle all the time it’ll break down faster.

[–] stoy@lemmy.zip 9 points 1 week ago

I maintain that nitrile gloves should be part of any functioning IT team's toolbox.

Just avoid the back or powdered ones, they make screws very hard to see, I use green gloves from Ansell, or failing that purple gloves from Abena, the powder is just annoying.

[–] A_norny_mousse@feddit.org 3 points 1 week ago

Not to speak of all the viruses.

[–] Ephera@lemmy.ml 20 points 1 week ago* (last edited 6 days ago) (1 children)

We currently have a semi-serious project at $DAYJOB, like we're basically allowed to work on it as a team building thing. And one guy who's tugging along has ten years more programming experience than me, but no experience with the programming language we're using, so he's been generating everything with LLMs.

He knows to write unit tests and well, the programming language in question is Rust, which's strict compiler prevents lots of bad code from happening. So, this isn't your stereotypical vibecoding.

But ...yeah, it's still been challenging to work with.

Yesterday, the guy built a feature which basically gives the user instructions how to create a bookmark in their browser. There's a few ways to implement this:

  • You don't. Our userbase is gonna be technical, they probably know how to do that.
  • You show the instructions for all browsers and let the user pick which instructions to follow.
  • You ask the user interactively what browser to set up and then show them only the instructions for the chosen browser.

Right, and apparently the fourth way to implement this, which the LLM generated, is to detect what the default browser of the user is.

Leaving aside the problem that some users will want to set up different browsers than their default browser, how do you implement that? Is there some nice, cross-platform API for it? Well, if there is, the LLM didn't know about it.
And neither are there nice APIs per operating system. On macOS and Linux, it runs some random commands to access this information. On Windows, the generated code looks at the Registry.

All of this is absolutely horrid to maintain. I do not want to be testing on each OS separately. I do not want hundreds of lines of code for a feature that's not actually needed. And the worst part is, the guy should know this. He has the experience.
But I've seen the guy when he chats with an LLM, just falls into an absolute trance. Does not surprise me that he's unable to take a step back to think, if this even makes sense to do...

[–] jenesaisquoi@feddit.org 7 points 1 week ago (2 children)

detect what the default browser of the user is

Please don't do stuff like this. You will always get it wrong. I hate apps trying to be "clever" placing unneccessary friction upon my workflow, because they always get it wrong. Then I have to figure out how their regarded auto detection works so I can trick it into doing the rigjt thing.

[–] Ephera@lemmy.ml 3 points 6 days ago

I do agree, yeah. If we would have auto-detection, I'd want a manual override to be implemented for sure.
It's a CLI, so it wouldn't be too bad to add a --browser=firefox flag or similar, but it just makes it even more obvious that this feature only adds complexity, because we would have two solutions when we hardly needed one.

[–] kruhmaster@sh.itjust.works 16 points 1 week ago (1 children)

How did he clean all of the Monster energy drink from the keyboard?

[–] LadyMeow@lemmy.blahaj.zone 7 points 1 week ago

Fresh monster energy, obv

[–] goatinspace@feddit.org 14 points 1 week ago
[–] barbedbeard@lemmy.ml 4 points 1 week ago (1 children)

LLM's will do as good code as the average coder. The problem with that is the average coder isn't very good at coding.

[–] SaharaMaleikuhm@feddit.org 2 points 1 week ago

I would to now where I slot in on that graph to know if I can agree with you or not.

[–] abbadon420@sh.itjust.works 2 points 1 week ago

I wouldn't touch it with a ten foot pole

[–] sturger@sh.itjust.works 1 points 1 week ago

Just looking at the thumbnail, I assumed the person was going to have 6 finger and thumbs on the outside.