Hacker News new | ask | show | jobs
by user_of_the_wek 455 days ago
I would assume that in rust, as in other languages, you can't use keywords as e.g. variable names because it would lead to mixups. So you can't translate programs back and forth without making sure you don't use keyword of _any_ possible language as variable names.
1 comments

For keywords in particular you can write the identifier anyway, r#async is a perfectly reasonable (though ugly) way to use async as an identifier, despite the fact that async is a keyword in current Rust editions.

But the problem is that while we can mechanically perform the operation that doesn't have the effect claimed, it's as if people expected (and I know this does happen with idiots) that Chinese is just the same as English but with different symbols.