uhn 🥺

https://gts.apicrim.es/@awoo/statuses/01KJ63PQJVH2MH1F87B0K4VW9T

487 points · 20 comments · view on lemmy.world

20 Comments

morgunkorn@discuss.tchncs.de · 59 pts · 161d (4 replies)
try {
    anal();
} catch() {
    std();
}
sidelove@lemmy.world · 31 pts · 161d (2 replies)
try {
    anal();
} catch (HIV) {
    die('wear a condom next time');
}
zero_spelled_with_an_ecks@programming.dev · 44 pts · 161d (1 reply)

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

Redjard@reddthat.com · 18 pts · 161d
try {
    anal();
} catch (HIV) {
    loop {
        sleep(1000000000);
        if HIV.has_cure {break}
    }
}
Luccus@feddit.org · 4 pts · 160d

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

Speiser0@feddit.org · 32 pts · 161d

KISS in unsafe blocks does make sense.

baduhai@sopuli.xyz · 26 pts · 161d (1 reply)

Pregnant ¯\_(ツ)_/¯

blackn1ght@feddit.uk · 31 pts · 161d

I think that's the result of dependency injection.

Laser@feddit.org · 20 pts · 161d

👉👈

gravitas_deficiency@sh.itjust.works · 11 pts · 161d (7 replies)

uWu what’s this?

Ziglin@lemmy.world · 10 pts · 161d (5 replies)

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.

tetris11@feddit.uk · 6 pts · 161d (2 replies)

Some people write their entire codebase within those parentheses.

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

peoplebeproblems@midwest.social · 8 pts · 161d (1 reply)

Why?

gravitas_deficiency@sh.itjust.works · 7 pts · 161d

They like to live dangerously unsafely

vithigar@lemmy.ca · 5 pts · 161d

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

gravitas_deficiency@sh.itjust.works · 5 pts · 161d

Nah I know I was just shitposting lol

HeyThisIsntTheYMCA@lemmy.world · 3 pts · 160d

:3 idk should we try the unsafe code?

Jayjader@jlai.lu · 7 pts · 160d

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

riskable@programming.dev · 6 pts · 161d

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

sp3ctr4l@lemmy.dbzer0.com · 3 pts · 161d

Reply hazy, try again.

(eventually something will catch)

Michia66@programming.dev · -2 pts · 161d
[ removed ]