this post was submitted on 31 Jul 2025
311 points (97.8% liked)

Programmer Humor

25425 readers
983 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
[–] anton@piefed.blahaj.zone 19 points 1 day ago* (last edited 1 day ago) (3 children)

My IDE says: '(', '+', '-', '.', ';', <operator>, '[' or '}' expected, got ';'
But the rust compiler explains

error: unknown start of token: \u{37e}  
help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not```   
what a killjoy.
[–] BuboScandiacus@mander.xyz 14 points 1 day ago (2 children)

But the rust compiler explains

If this is true then rust deserves all the praise it gets

[–] billwashere@lemmy.world 1 points 20 hours ago

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;

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