Hacker News new | ask | show | jobs
by rtoway 1688 days ago
Rust has a lint against this kind of attack + you can explicitly disable non-ASCII identifiers if you really want to
1 comments

Ideally that lint would be on by default though. Most code doesn't use non-ASCII identifiers. It's not happened though because of uhm. political reasons.
Most code made by English speakers contains English word and Latin characters, so other languages and alphabets must be abandoned, and their native speakers must imprisoned until they understand their mistakes.
OK, OK, we can start with a warning in the compiler that use of any language except English is unsafe.
Abugidas and logographies banished
The lint is on by default in the latest version of the compiler