115

Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain 😅

you are viewing a single comment's thread
view the rest of the comments
[-] Darohan@lemmy.zip 36 points 17 hours ago

Replace a semicolon (;) with a Greek Question mark (;), provided they're working in a language that uses semicolons at the end of every line, and their IDE doesn't highlight the difference (which some do now)

[-] sleep_deprived@lemmy.dbzer0.com 19 points 9 hours ago

Fun fact, Rust has a special error message for this:

Unicode character ';' (Greek Question Mark) looks like a semicolon, but it is not.

It also detects other potentially confusing Unicode characters, like the division slash which looks like /.

load more comments (1 replies)
this post was submitted on 01 Mar 2025
115 points (90.8% liked)

Programmer Humor

20854 readers
1405 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