Hacker News new | past | comments | ask | show | jobs | submit login

I don't know about the standard, but both GCC and Clang accept ZWSP characters in the middle of variable names.

Clang logs a warning about potentially invisible characters every time you use them. g++ just compiles the code without warning, even with -Wall and -Wpedantic.

What clang _doesn't_ warn for, is the use of the left-to-right override character. This can be used to confuse the victims of your code even more.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: