this post was submitted on 26 Feb 2024
308 points (97.2% liked)

Programmer Humor

32495 readers
627 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 30 points 8 months ago (7 children)

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?

[–] [email protected] 16 points 8 months ago* (last edited 8 months ago) (1 children)

There's always an accomplice in crime.

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

[–] [email protected] 8 points 8 months ago

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

load more comments (5 replies)