139
submitted 3 weeks ago* (last edited 3 weeks 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 46 points 3 weeks ago

It’s just C with a garbage collector built-in, so even easier, duhhh.

[-] thoughtfuldragon@lemmy.blahaj.zone 27 points 3 weeks ago

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 3 weeks ago

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

[-] silver_wings_of_morning@feddit.dk 18 points 3 weeks ago

no that's the other c-and-four-lines, just arranged differently, the |||| are arranged in # for the garbage collected one, not ++

[-] pelya@lemmy.world 4 points 3 weeks ago

More like garbage dispenser.

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

[-] parlaptie@feddit.org 1 points 3 weeks 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 27 points 3 weeks ago* (last edited 3 weeks ago)

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

[-] solrize@lemmy.ml 3 points 3 weeks ago

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

[-] cactusupyourbutt@lemmy.world 0 points 3 weeks ago

just make everything a shared_ptr and it kinda does

this post was submitted on 13 Jul 2026
139 points (96.6% liked)

Programmer Humor

32691 readers
1003 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