this post was submitted on 10 Aug 2023
575 points (95.6% liked)

Programmer Humor

18961 readers
1074 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
[–] [email protected] 56 points 1 year ago (2 children)

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

[–] [email protected] 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

[–] [email protected] 33 points 1 year ago

I never knew I needed API fanfiction

[–] [email protected] 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...

[–] [email protected] 11 points 1 year ago

Yo dawg, I heard you like code

[–] [email protected] 44 points 1 year ago

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

[–] [email protected] 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".

[–] [email protected] 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!

[–] [email protected] 8 points 1 year ago

Thanks, Applebee's!

[–] [email protected] 10 points 1 year ago

I can read docs???

[–] [email protected] 8 points 1 year ago

But cases assume the docs are updated and actually exist.

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)

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

[–] [email protected] 7 points 1 year ago

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

[–] [email protected] 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.

[–] [email protected] 3 points 1 year ago

All hail chef Mike

[–] [email protected] -4 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

No biscuit.