tc39 / proposal-pattern-matching

Pattern matching syntax for ECMAScript
https://tc39.es/proposal-pattern-matching/
MIT License
5.5k stars 89 forks source link

Where is this group's current draft? #313

Closed littledan closed 7 months ago

littledan commented 9 months ago

Are https://github.com/tc39/proposal-pattern-matching/blob/new-proposal/README.md and https://raw.githack.com/tc39/proposal-pattern-matching/new-spec/index.html both kept up-to-date? Even if you're still iterating, it might be easier for others to follow/review if you land these.

ljharb commented 9 months ago

Until the champion group has consensus, I think we're not expecting anyone else to follow or review.

littledan commented 9 months ago

It's good to know that those things do not have consensus! Still, this topic is of great interest to many of us involved in JS; I bet I'm not the only curious one. What if you came to TC39 some time and presented about the range of options that you've been debating about?

ljharb commented 9 months ago

We certainly could get such a presentation together - but our current approach has been to explicitly not do that until we have consensus within our group.

Jack-Works commented 9 months ago

Are new-proposal/README.md and raw.githack.com/tc39/proposal-pattern-matching/new-spec/index.html both kept up-to-date? Even if you're still iterating, it might be easier for others to follow/review if you land these.

The readme is not up-to-date IMO, the spec is up-to-date. They are both not the group consensus before they are merged. The spec explicitly marked any content that is not consensus.