2096
the beautiful code (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] DaPorkchop_@lemmy.ml 9 points 2 months ago

Okay, you can't just drop that bombshell without elaborating. What sort of bug could exist in a program which contains a single return instruction?!?

[-] Amberskin@europe.pub 2 points 2 months ago

It didn’t clear the return code. In mainframe jobs, successful executions are expected to return zero (in the machine R15 register).

So in this case fixing the bug required to add an instruction instead of removing one.

this post was submitted on 27 May 2025
2096 points (99.5% liked)

Programmer Humor

25282 readers
518 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