this post was submitted on 10 Aug 2023
573 points (95.5% liked)

Programmer Humor

19589 readers
589 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 1 year ago
MODERATORS
 
all 19 comments
sorted by: hot top controversial new old
[–] Glarrf@midwest.social 55 points 1 year ago (2 children)

The codebase I'm working on would give chatGpt an aneurysm. I'm actually a ghost.

[–] nerdschleife@lemm.ee 44 points 1 year ago (1 children)

Lmao I asked chatgpt to restructure a POST API to a bash file and it started writing fan fiction

[–] alcasa@lemmy.sdf.org 33 points 1 year ago

I never knew I needed API fanfiction

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

I'm guessing you're using opencart cuz I've been working with an old codebase for around a year and I would love if any code analysis or intelisense actually worked... on xml files... with php in them... with javascript in php variables... with calls to php inside xml files...

[–] Zink@programming.dev 11 points 1 year ago

Yo dawg, I heard you like code

[–] hubobes@lemmy.world 43 points 1 year ago

Except you have to tell your microwave that the ingredients it used don’t actually exist.

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

It's a pretty good analogy for other reasons too. You may be able to make some tasty stuff in a microwave and it's brilliant for a bunch of uses... but you wouldn't call yourself a chef, or serve it to anyone who expected "gourmet shit".

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

you wouldn't call yourself a chef, or serve it to anyone who expected "gourmet shit".

Hell yes I would!

[–] CanadaPlus@lemmy.sdf.org 8 points 1 year ago

Thanks, Applebee's!

[–] Bombastic@sopuli.xyz 10 points 1 year ago

I can read docs???

[–] qaz@lemmy.world 8 points 1 year ago

But cases assume the docs are updated and actually exist.

[–] nothacking@discuss.tchncs.de 7 points 1 year ago

More like microwaving eggs with how buggy (and badly commented) chatGPT's code is.

[–] LazaroFilm@lemmy.film 7 points 1 year ago* (last edited 1 year ago)

error function not defined init() But both the manual and ChatGPT are using it…

[–] CanadaPlus@lemmy.sdf.org 6 points 1 year ago* (last edited 1 year ago)

So then copilot is just every modern large-scale kitchen that strategically uses both. Yeah, that adds up.

[–] WhyIDie@programming.dev 4 points 1 year ago

''You're too late. I've already depicted you as the Soyjak, and me as the Chad.''

[–] iamericandre@lemmy.world 3 points 1 year ago

All hail chef Mike

[–] passably9@lemmy.world -4 points 1 year ago (1 children)
[–] nyan@lemmy.cafe 1 points 1 year ago

No biscuit.