this post was submitted on 16 Mar 2025
26 points (100.0% liked)

Programmer Humor

24670 readers
349 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 2 years ago
MODERATORS
26
C++ (ani.social)
submitted 3 months ago* (last edited 3 months ago) by kiri@ani.social to c/programmer_humor@programming.dev
 
you are viewing a single comment's thread
view the rest of the comments
[–] CanadaPlus@lemmy.sdf.org -1 points 3 months ago (1 children)

Which kind of smart pointer, with which kind of footgun? I mean, it's better than not even trying I guess, but if it was actually a full solution you'd just have Rust.

[–] henfredemars@infosec.pub 2 points 3 months ago

You’re right. It’s a stop gap, but when you’re talking about a code base that has been maintained for 20 years plus you can’t really sell re-implementation.

Most recently it was with an older version of C++ using shared pointers.