this post was submitted on 16 Aug 2023
635 points (90.2% liked)

Programmer Humor

32563 readers
460 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
[–] theKalash@feddit.ch 24 points 1 year ago (1 children)
[–] dog@suppo.fi -1 points 1 year ago (1 children)

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!");