this post was submitted on 08 Jun 2025
857 points (97.2% liked)

Programmer Humor

24615 readers
1109 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
[–] ILikeBoobies@lemmy.ca 42 points 3 weeks ago (10 children)

Why is the crab not Rust. This is outrageous, it’s unfair

[–] d_k_bo@feddit.org 36 points 3 weeks ago* (last edited 3 weeks ago) (9 children)

Rust would be some borrow checker compile error like

borrowed data escapes outside of associated function
argument requires that `'1` must outlive `'static`
[–] pewgar_seemsimandroid@lemmy.blahaj.zone 17 points 3 weeks ago (3 children)

rust errors are funny if you don't know rust

[–] Ephera@lemmy.ml 8 points 3 weeks 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 2 points 3 weeks ago* (last edited 3 weeks 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.

load more comments (1 replies)
load more comments (6 replies)
load more comments (6 replies)