this post was submitted on 16 Aug 2023
636 points (90.3% liked)

Programmer Humor

32560 readers
381 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

TIL about the greek question mark

Tell me, can you tell the difference between these two characters?

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 1 year ago (1 children)
[–] [email protected] -1 points 1 year ago (1 children)

Do Rust, Nim, etc use semicolons? I don't remember

[–] [email protected] 11 points 1 year ago

Rust does. But you get:

error: unknown start of token: \u{37e}
 --> test.rs:2:30
  |
2 |     println!("Hello, World!");
  |                              ^
  |
help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
  |
2 |     println!("Hello, World!");