On Wednesday, 15 February 2012 at 15:19:59 UTC, Jacob Carlborg
wrote:
I'm wary of magical characters because they may end up in text
copied by the user. For example, what if someone posts a code
sample that contains a long string of alphanumerics?
It depends on where you paste it. Copying a string containing a
zero-width space and pasting it in TextMate results in a
visible space. If I instead paste it in TextEdit there's no
visible space. I tried a few other applications as well and
there was no visible space in those.
Yes, but will the code from our hypothetical example still
compile and work as it should?