1128
submitted 6 months ago* (last edited 6 months ago) by Ek-Hou-Van-Braai@piefed.social to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Kolanaki@pawb.social 9 points 6 months ago

10 PRINT 'Hello World!'

20 GOTO 10

EZ

[-] sexual_tomato@lemmy.dbzer0.com 7 points 6 months ago* (last edited 6 months ago)

Infinite loop and hard coded magic constant; this should have a configurable timeout and a resource file the string is read from so we can internationalize the application. Additionally, the use of a goto with a hard coded line number is a runtime bug waiting to happen after unrelated refactors; it's best to use a looping construct that has more deterministic bounds.

[-] Digit@lemmy.wtf 1 points 6 months ago

*while true gangsign*

this post was submitted on 19 Mar 2026
1128 points (95.0% liked)

Programmer Humor

33472 readers
2282 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 3 years ago
MODERATORS