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

founded 3 years ago
MODERATORS
 

Edit: sorry I didn't realize I already posted this

you are viewing a single comment's thread
view the rest of the comments
[–] nightwatch_admin@lemmy.world 38 points 1 day ago (4 children)

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 ++

[–] thoughtfuldragon@lemmy.blahaj.zone 23 points 1 day ago (1 children)

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.

[–] mkwt@lemmy.world 0 points 23 hours ago

People have written garbage collectors for C++, but just about no one used the standard library support that was in the standard.

[–] pelya@lemmy.world 2 points 1 day ago

More like garbage dispenser.

Pro C++ coders don't use delete, they call abort()

[–] parlaptie@feddit.org 2 points 1 day ago (4 children)

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

[–] call_me_xale@lemmy.zip 22 points 1 day ago* (last edited 1 day ago) (1 children)

I think the "duhhh" is a pretty good stand-in for a sarcasm marker

[–] cactusupyourbutt@lemmy.world 0 points 16 hours ago

just make everything a shared_ptr and it kinda does

[–] solrize@lemmy.ml 2 points 1 day ago

A garbage collector is just a monoid in the category of endofunctors, what's the problem?