anton

joined 3 days ago
[–] anton@piefed.blahaj.zone 6 points 1 day ago

While the language can be hard to get used to, the error messages are mostly great.
But sometimes you can send it on a goose chase with impossible type inference.

[–] anton@piefed.blahaj.zone 8 points 1 day ago (1 children)

If those are normal integers, the compiler optimizes that to a simple compare and branch/cmov.

[–] anton@piefed.blahaj.zone 19 points 1 day ago* (last edited 1 day ago) (3 children)

My IDE says: '(', '+', '-', '.', ';', <operator>, '[' or '}' expected, got ';'
But the rust compiler explains

error: unknown start of token: \u{37e}  
help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not```   
what a killjoy.
[–] anton@piefed.blahaj.zone 30 points 2 days ago (2 children)

Now draw her bouldering, I think it fits her style.