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

Disallow problematic identifiers #499

Merged
merged 1 commit into from
Jul 16, 2020
Merged

Conversation

mtdowling
Copy link
Member

@mtdowling mtdowling commented Jul 16, 2020

These newly disallowed identifiers were never actually supported in
practice and are problematic on multiple levels:

  1. An identifier like _ or __ are bad names that don't help users understand an API.
  2. Identifiers like _ are problematic for languages like Rust that use this character for pattern matching.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mtdowling mtdowling requested a review from kstich July 16, 2020 04:09
These newly disallowed identifiers were never actually supported in
practice and are problematic on multiple levels:

1. An identifier like `_` or `__` are bad names that don't help users
   understand an API.
2. Identifiers like `_` are problematic for languages like Rust that use
   this character for pattern matching.
@mtdowling mtdowling force-pushed the update-shape-id-syntax branch from b0f98d5 to 3ca1ce2 Compare July 16, 2020 16:03
@mtdowling mtdowling merged commit a779b47 into master Jul 16, 2020
@mtdowling mtdowling deleted the update-shape-id-syntax branch August 7, 2020 05:42
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

Successfully merging this pull request may close these issues.

2 participants