this post was submitted on 08 Jun 2025
724 points (97.5% liked)

Programmer Humor

23955 readers
1542 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Ephera@lemmy.ml 7 points 12 hours ago (1 children)

Those also happen to be errors you'd typically run into, if you don't yet really know Rust...

[โ€“] d_k_bo@feddit.org 1 points 6 hours ago* (last edited 6 hours ago)

I do run into them even though I use Rust for ~3 years now, but only in non-obvious cases, e. g. when all references to the borrowed data are dropped before the end of the function.