134
submitted 2 days ago* (last edited 2 days ago) by danhab99@programming.dev to c/programmer_humor@programming.dev

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 41 points 2 days ago

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.

[-] mkwt@lemmy.world 0 points 1 day 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 1 points 2 days ago

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 26 points 2 days ago* (last edited 2 days ago)

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

[-] cactusupyourbutt@lemmy.world 0 points 1 day ago

just make everything a shared_ptr and it kinda does

[-] solrize@lemmy.ml 2 points 2 days ago

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

this post was submitted on 13 Jul 2026
134 points (96.5% liked)

Programmer Humor

32283 readers
2107 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