863
you are viewing a single comment's thread
view the rest of the comments
[-] perviouslyiner@lemmy.world 241 points 1 year ago* (last edited 1 year ago)

define it as ( __LINE__ % 10) so that the problem goes away when you add a debug statement

[-] CodexArcanum@lemmy.world 80 points 1 year ago

Makes the error a little too frequent, but does obscure any performance penalty and is some truly evil genius work!

[-] perviouslyiner@lemmy.world 84 points 1 year ago
[-] jettrscga@lemmy.world 61 points 1 year ago* (last edited 1 year ago)

Full version

Edit: from XKCD

load more comments (1 replies)
load more comments (16 replies)
this post was submitted on 09 Feb 2024
863 points (97.6% liked)

Programmer Humor

20033 readers
2447 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