-
Notifications
You must be signed in to change notification settings - Fork 79
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
Umbrella features for old versions of HTML, CSS and JavaScript #558
Comments
As a way to move fast on things that have been baseline for a long time, I agree that this is a good idea.
If we create 3 huge groups for everything that's been supported everywhere for at least a few years, then we don't really catalog the web platform. |
I agree with @captainbrosset but I also think that having larger groups for "snapshots" is useful. I think "snapshots groups" and "capability groups" in combination are quite interesting actually. I guess my thought is: Why not have both? For example, if you have the snapshot groups: ecmascript-3, ecmascript-2018, ecmascript-2024 and the web platform capability group "regular-expressions", you can have:
In BCD we could note it like so: Regex constructor:
Regex dotAll:
Edit: Maybe it would be even better if it the data makes clear what is a capability group and what is a snapshot. The prefix could help with that: Also, as you say, snapshot groups are easier to determine than capability groups, because what even is a capability? What does it include? |
I made up the term "umbrella feature" here, but I don't think they're like regular features. We shouldn't put hundreds of BCD keys into one mega-feature and have that alongside things like Subgrid or BigInt in a hypothetical dashboard/search/thing. "Why not have both?" is the right answer I think, and I think @Elchi3's "snapshot groups" (which aren't features) are in the right direction for a solution. |
With the approach we've taken with groups and snapshots, as well as "initial support" features, I think this issue is no longer relevant. |
It would be useful to have at least these groups to put a lot of widely supported APIs into:
const
andlet
features #330 (comment)I suspect we'll run into harder cases the newer versions we try to add, and in particular I don't think we should try to categorize new JavaScript features primarily by ECMAScript version, but instead by the specific features. Over time they might melt into a grouping feature, however.
The text was updated successfully, but these errors were encountered: