this post was submitted on 31 Jul 2025
308 points (97.8% liked)
Programmer Humor
25425 readers
2006 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My IDE says:
'(', '+', '-', '.', ';', <operator>, '[' or '}' expected, got ';'
But the rust compiler explains
If this is true then rust deserves all the praise it gets
This is pretty cool. But my question is if the compiler knows it’s basically the same thing visually, why doesn’t it treat it the same way as far as syntax and just make them functionally equivalent;
While the language can be hard to get used to, the error messages are mostly great.
But sometimes you can send it on a goose chase with impossible type inference.