142
submitted 1 week ago* (last edited 1 week 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 49 points 1 week ago

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

[-] thoughtfuldragon 30 points 1 week 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 1 points 1 week 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 1 week ago

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

[-] parlaptie@feddit.org 11 points 1 week 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 30 points 1 week ago* (last edited 1 week ago)

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

[-] Cease@mander.xyz 7 points 1 week ago* (last edited 1 week ago)

"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

[-] solrize@lemmy.ml 3 points 1 week ago

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

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

just make everything a shared_ptr and it kinda does

[-] pelya@lemmy.world 3 points 1 week ago

More like garbage dispenser.

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

this post was submitted on 13 Jul 2026
142 points (100.0% liked)

Programmer Humor

32422 readers
1141 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