this post was submitted on 02 Dec 2025
1016 points (98.7% liked)

Programmer Humor

27673 readers
888 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
 

Am baby

My code is disgusting ๐Ÿซ 

But I'm getting better every day!

(page 2) 34 comments
sorted by: hot top controversial new old
[โ€“] mycodesucks@lemmy.world 11 points 4 days ago

Oof... felt this one right in the code.

[โ€“] ch00f@lemmy.world 12 points 4 days ago (1 children)

Trust me, there's someone just starting out, and you got them 90% of the way there, and they will humbly submit a fix for your code with zero judgement.

That someone is me, because I have no idea what I'm doing.

because I have no idea what I'm doing

I'm in this photo and I don't like it.

[โ€“] GreenKnight23@lemmy.world 2 points 3 days ago

I have written so many scrapers in my life that would have probably helped thousands of people.

it was all for porn though. they shall never see the light of day.

Mad respect

[โ€“] eemon@programming.dev 6 points 4 days ago

Relatable content.

[โ€“] roofuskit@lemmy.world 8 points 4 days ago* (last edited 4 days ago)

You want my comment-less source code? I can't be arsed.

[โ€“] blockheadjt@sh.itjust.works 4 points 4 days ago (1 children)

Well that's embarscing

[โ€“] vga@sopuli.xyz 3 points 4 days ago* (last edited 3 days ago)

I'm currently sitting on a codebase that's perfectly ok and I have no reason not to open-source it, but it's 95% generated by AI so I don't know. Probably I'll just use it myself like it was an embarrasing sex toy.

Looking at github lately, it seems a lot of people don't share my reservations.

[โ€“] MystikIncarnate@lemmy.ca 0 points 2 days ago

I was reviewing some PowerShell script today and it was absolutely atrocious. It's only saving grace was that it was using actual PowerShell, not some hacky wmic call or anything.

I didn't write it and I'm really glad for that. Whole lines of rewritten code commented out and just left there. Entire lines of # marks. There's no reason this should be so densely commented. Your code should be self explanatory.

There were multiple queries to the same database that was then passed through a "where-object" selector by pipe, looking for a single value (pulling a database of thousands of entries for one line).

It was disgusting.

I'm not even a developer and I thought it was horrid.

[โ€“] cassandrafatigue@lemmy.dbzer0.com 1 points 3 days ago (1 children)

I don't understand your username. Like that's some kind of exception?

[โ€“] ArsonButCute@lemmy.dbzer0.com 1 points 3 days ago (1 children)

I'm not sure I understand the question

[โ€“] cassandrafatigue@lemmy.dbzer0.com 1 points 3 days ago (1 children)

Cake but tasty, kittens but adorable, arson but cute?

[โ€“] ArsonButCute@lemmy.dbzer0.com 1 points 3 days ago (1 children)

Oh, well I mean, arson isn't normally cute is it?

load more comments
view more: โ€น prev next โ€บ