this post was submitted on 01 Mar 2025
195 points (93.0% liked)

Programmer Humor

20893 readers
1212 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
 

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
[โ€“] [email protected] 37 points 2 days ago (2 children)

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)

[โ€“] [email protected] 25 points 2 days 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 /.

[โ€“] [email protected] 3 points 2 days ago

Replace all spaces with the unicode non-breaking space that looks the same.

Although I know at least some language servers will detect this and mark it as an error, lol.