-
Notifications
You must be signed in to change notification settings - Fork 75
double dot syntax proposal #80
Comments
That would mean we'd have |
e4x use double dot operator, although it's deprecated, it's probably still not the time to introduce a syntax conflict with that |
For the record in E4X "the |
For information, E4X was removed from Firefox (the only web browser that supported it) about 6 years ago. |
There is no confusion possible with By contrast, I don’t think that the difference between (Also, before someone else wastes a comment for it: The fact that |
@claudepache Those are really good points! The real issue is that we already used all symbols on a standard US keyboard, everything from now on will either lack ergonomics or visual clarity |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
My real objection here is that this is unpopular, because we already voted (in #51) on what we prefer, and Other reasons to prefer
If we were starting from scratch, it'd be an interesting proposal, but I just see no reason to reconsider |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
You are right, that's the clincher. |
@littledan maybe close this issue? |
I agree |
Just a wild idea, after more than a year revisiting this:
Double dot
..
is syntax error, so it could be possible to allow this syntax and avoid the problems with the?
character:and since
.[
is syntax errorpros:
==
and the variant===
(but opposite)cons:
..
Another variant on the same idea is to use:
a,.b,.c,.d
I don't know it this would be ambiguous for the parser along with other structures tho
The text was updated successfully, but these errors were encountered: