this post was submitted on 08 Jun 2026
299 points (98.7% liked)

Programmer Humor

31836 readers
557 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Feyd@programming.dev 7 points 1 week ago* (last edited 1 week ago) (1 children)

How does unique_ptr teach reference counting? It's just a way to interface with RAII and move semantics

[โ€“] LedgeDrop@lemmy.zip 6 points 1 week ago* (last edited 1 week ago)

You're right. I was thinking of shared_ptr (it's been a blissful long while since I've dived deep into C++ stl and boost)

edit: a word