Skip to content

Add const and let features - #330

Closed
ddbeck wants to merge 2 commits into
web-platform-dx:mainfrom
ddbeck:2023-08-28-add-feature-1-and-2
Closed

Add const and let features#330
ddbeck wants to merge 2 commits into
web-platform-dx:mainfrom
ddbeck:2023-08-28-add-feature-1-and-2

Conversation

@ddbeck

@ddbeck ddbeck commented Aug 28, 2023

Copy link
Copy Markdown
Collaborator

At some point, I'll be making an ES6 group, so these will eventually join that group. Otherwise, these would feel pretty trivial.

These correspond to:


This is a new feature. Here are some ideas for reviewing it:

  • Is this a recognizable web feature to web developers? (caniuse features are often made by request, so it's likely, but let's double check our work here.)
  • Is this a reasonable identifier for the feature?
  • Does this have a reasonable spec link?
  • Does this have a reasonable caniuse reference?
  • Are the mdn/browser-compat-data features plausible pieces of the feature as a whole?
  • Are any pieces missing?
  • Are any of the listed features later additions, part of a distinct sub feature, or otherwise excludable?
@ddbeck ddbeck added the feature definition Creating or defining new features or groups of features. label Aug 28, 2023
@Elchi3

Elchi3 commented Sep 6, 2023

Copy link
Copy Markdown
Collaborator

Is there any prior discussion about feature group definitions that include just a single feature? Do we generally think groups with just one feature are useful?

Would you create a group for the JavaScript var statement? Probably not I guess? Is the justification that these two features would be part of another (ES6) group? Why not just have them in that group then?

@foolip

foolip commented Jan 31, 2024

Copy link
Copy Markdown
Collaborator

At least for parts of JavaScript that are old by now, I think we should have groups like "es5", "es6", etc., and put these into "es6". I think we can lump everything pre-ES6 into ES5, and we also need to decide if/when we switch from version numbers to years. https://en.wikipedia.org/wiki/ECMAScript_version_history is a good starting point to understand the evolution.

@foolip

foolip commented Jan 31, 2024

Copy link
Copy Markdown
Collaborator

I've filed #558 to track that idea.

@ddbeck

ddbeck commented Mar 19, 2024

Copy link
Copy Markdown
Collaborator Author

I'm going to withdraw this for now. Snapshots seems to be the direction of an answer for some of this, so let's come back to this later.

@ddbeck ddbeck closed this Mar 19, 2024
@ddbeck
ddbeck deleted the 2023-08-28-add-feature-1-and-2 branch March 19, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

3 participants