this post was submitted on 06 Jul 2026
372 points (98.7% liked)

Programmer Humor

32205 readers
1343 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
[โ€“] HuntressHimbo@lemmy.zip 15 points 3 days ago (1 children)

Some would call it the single biggest source of gotcha moments learning the language

[โ€“] AeonFelis@lemmy.world 5 points 2 days ago

Also the source of most of the things Rust gets criticized for. Ugly syntax? That's mainly because of the lifetimes, which server as instructions for the Borrow Checker. Too many types of strings? So that the Borrow Checker can determine how the memory slice the text is stored in is managed. And of course - the complicated error messages are where the compiler is trying to explain to you what the Borrow Checker is thinking.