Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding linter that warns about use of unsupported characters in symbol names #209

Open
jafingerhut opened this issue Nov 8, 2016 · 1 comment

Comments

@jafingerhut
Copy link
Collaborator

See this recent discussion on the topic, for example: https://groups.google.com/forum/#!topic/clojure/CwZHu1Eszbk

I would have to look at the preliminary results of such a new linter on a bunch of Clojure projects to see whether it was so noisy that having it on by default would be useful, or simply annoying.

@jafingerhut
Copy link
Collaborator Author

Arguably the warning should be more severe if there are characters like Unicode's non-breaking space (or other whitespace characters other than the ASCII whitespace characters), because those can lead to very confusing-to-human behavior.

For example, a text editor might show a non-breaking space equivalently to a normal ASCII space, and to a human a sequence of characters would look like two symbols or expressions separated by a normal space, but Clojure would treat it as a single symbol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant