-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
zig fmt: canonicalize symbol names #166
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
Labels
Milestone
Comments
Original proposal rejected. Counter proposal accepted: canonicalize symbol names with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently in Zig, it's legal to do this:
Or worse:
This is not grep friendly and it goes against One Way To Do Things. It would be nice if code readers could rely on all symbols being represented the same way.
Therefore I propose an error of the form:
This also serves the goal of Prioritize Reading Code Over Writing It.
The text was updated successfully, but these errors were encountered: