635

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
[-] theKalash@feddit.ch 24 points 1 year ago
[-] dog@suppo.fi -1 points 1 year ago

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

[-] LaggyKar@programming.dev 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!");
this post was submitted on 16 Aug 2023
635 points (90.2% liked)

Programmer Humor

32361 readers
1566 users here now

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

Rules:

founded 5 years ago
MODERATORS