this post was submitted on 02 Oct 2023
1175 points (98.6% liked)

Programmer Humor

24670 readers
315 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] xigoi@lemmy.sdf.org 95 points 2 years ago (24 children)

“The other programmers keep accidentally writing code that ends up in an infinite loop. I'd like you to make a program that can reliably detect that.”

[–] elvith@feddit.de 32 points 2 years ago (9 children)

You may joke, but if I had a penny for every time someone asked me to solve a problem, that basically boils down to the halting problem, I'd be rich.

[–] randon31415@lemmy.world 7 points 2 years ago (5 children)

I have always wondered why the answer to the halting problem isn't: "If no output has been returned in X time, BREAK, restart program from beginning."

[–] niartenyaw@midwest.social 26 points 2 years ago (1 children)

what if it needed just one more second to complete?

load more comments (3 replies)
load more comments (6 replies)
load more comments (20 replies)