461
uhn 🥺 (lemmy.blahaj.zone)
all 21 comments
sorted by: hot top controversial new old
[-] Jayjader@jlai.lu 4 points 9 hours ago

You can use me after free() all you want, babe

[-] morgunkorn@discuss.tchncs.de 54 points 1 day ago
try {
    anal();
} catch() {
    std();
}
[-] Luccus@feddit.org 3 points 8 hours ago

I will use this to make my code unattractive for AI.

[-] sidelove@lemmy.world 27 points 1 day ago* (last edited 1 day ago)
try {
    anal();
} catch (HIV) {
    die('wear a condom next time');
}

That's legacy code from the 80s. Please update it when you get the chance.

[-] Redjard@reddthat.com 16 points 1 day ago
try {
    anal();
} catch (HIV) {
    loop {
        sleep(1000000000);
        if HIV.has_cure {break}
    }
}
[-] Speiser0@feddit.org 28 points 1 day ago

KISS in unsafe blocks does make sense.

[-] baduhai@sopuli.xyz 24 points 1 day ago

Pregnant ¯\_(ツ)_/¯

[-] blackn1ght@feddit.uk 27 points 1 day ago

I think that's the result of dependency injection.

[-] Laser@feddit.org 18 points 1 day ago

👉👈

[-] HeyThisIsntTheYMCA@lemmy.world 1 points 11 hours ago

:3 idk should we try the unsafe code?

[-] Ziglin@lemmy.world 8 points 1 day ago

The unsafe rust keyword basically just lets you declare a scope in which some memory checks do not need to pass for the program to compile.

[-] vithigar@lemmy.ca 4 points 1 day ago

Also exists in C#, where it allows you to use pointers.

Nah I know I was just shitposting lol

[-] tetris11@feddit.uk 4 points 1 day ago* (last edited 1 day ago)

Some people write their entire codebase within those parentheses.

^me.^ ^I'm^ ^talking^ ^about^ ^me^

They like to live ~~dangerously~~ unsafely

[-] riskable@programming.dev 4 points 1 day ago

It would turn into a prince! An unstable prince of undefined behavior.

[-] sp3ctr4l@lemmy.dbzer0.com 2 points 1 day ago

Reply hazy, try again.

(eventually something will catch)

this post was submitted on 25 Feb 2026
461 points (100.0% liked)

Programmer Humor

30038 readers
1139 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