this post was submitted on 13 Jul 2026
114 points (96.7% liked)
Programmer Humor
32263 readers
1690 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It’s just C with a garbage collector built-in, so even easier, duhhh.
no that's the other c-and-four-lines, just arranged differently, the |||| are arranged in # for the garbage collected one, not ++
I may have missed the joke but C++ doesn't have built in garbage collector. Even recent versions of the standard merely allow it but don't specify it is required.
People have written garbage collectors for C++, but just about no one used the standard library support that was in the standard.
More like garbage dispenser.
Pro C++ coders don't use
delete, they callabort()Did you forget the /s or is this the tactic where you intentionally post wrong statements in order to get people to correct you so that you learn something?
C++ doesn't have a garbage collector
I think the "duhhh" is a pretty good stand-in for a sarcasm marker
Thank you!
just make everything a shared_ptr and it kinda does
A garbage collector is just a monoid in the category of endofunctors, what's the problem?
"WHeRe's DuH /s I CaN't KnOw If ITs a JoKe"
This isn't reddit, maybe use your brain instead of getting angry for not having reading comprehension skills lmao
Sorry, garbage collector took your comment