310
all 16 comments
sorted by: hot top new old
[-] P1r4nha@feddit.de 30 points 2 years ago

Horrible code. First, it doesn't compile because there's no ; at the end of the class definition.

And then more importantly you have a private destructor which means this CriminalScum's destructor will never be called, so you can't charge it with distruction either. Or are you telling me this CriminalScum has friends?

[-] aggelalex@lemmy.world 16 points 2 years ago* (last edited 2 years ago)

There's always an accomplice in crime.

Also, tall order to expect me to run and test a code written only for a shitpost.

[-] P1r4nha@feddit.de 8 points 2 years ago

You're charging the class for a thought crime!!

[-] observantTrapezium@lemmy.ca 7 points 2 years ago

Also, if I'm not mistaken the uninitialized prop is not guaranteed to be nullptr here, so this private destructor could be trying to free from some random pointer.

[-] desmosthenes@lemmy.world 17 points 2 years ago

it’s not monospaced; my eyes

[-] aggelalex@lemmy.world 10 points 2 years ago

Peak shittiness requires sacrifice

[-] lowleveldata@programming.dev 17 points 2 years ago
[-] Jordan_U@lemmy.ml 1 points 2 years ago
[-] Hupf@feddit.de 16 points 2 years ago

CriminalScrum

[-] Annoyed_Crabby@monyet.cc 9 points 2 years ago

Right to remain silent isn't granted to criminal scum, they have to either pay the court a fine or serve their sentence, and their stolen goods are now forfeit.

[-] ooterness@lemmy.world 9 points 2 years ago

STOP! You have violated the law. Pay the court a fine or serve your sentence. Your stolen goods are now forfeit.

[-] lily33@lemm.ee 8 points 2 years ago

I see there an access violation...

this post was submitted on 26 Feb 2024
310 points (97.3% liked)

Programmer Humor

43942 readers
354 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 7 years ago
MODERATORS