-
Currently, per mdn/content#31101 (comment), it seems that only core-js is currently listed as a polyfill implementation. First, this didn't used to be the case - when it was a wiki, multiple options were often listed, so that suggests they were intentionally removed. Second, it's wildly inappropriate for MDN to be "picking a winner". While removing all links to polyfills would address this, it wouldn't help users, and would make them more likely to copy/paste snippets instead of using actual production-quality polyfills. I think a reasonable criteria, then, is that polyfills be well-maintained and be maximally spec-compliant (passing feasible test262 tests, for example). https://www.npmjs.com/org/es-shims meets this criteria along with core-js, and I think it's reasonable to include both where applicable. I'd be happy to add the links, ofc, that's the easy part. I don't agree with the slippery slope argument in the referenced PR, and if "having one option is better for users", then that is an argument to shut down Firefox entirely so that users have fewer browser options - but I suspect that Mozilla wouldn't want to argue that position (nor do I agree with it). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The argument is not so much "having one option is better for users" as "having accurate, maintainable, and maintain information is better for users". MDN achieves that by limiting the number of options that we have to maintain, ideally and usually to a defacto standard option. We're not quite that restrictive usually, but we do require that things added to lists are well supported and have some kind of history that means we're not just being used as a means of self-promotion. Your links may well have been intentionally removed, either as part of the policy or because the associated API became stable. In any case, I can't fairly comment on your library. My concern here would be that there might be X other people following in your footsteps with same argument as to why they should be "the one". Let's see if there are some technical arguments for or against inclusion from @teoli2003 et al. |
Beta Was this translation helpful? Give feedback.
-
Hi all! ContextLet me add some context to the current situation. Right after we migrated to GitHub at the beginning of 2020, we inherited the situation created by the Wiki era of MDN:
We were (and still are) concerned by:
These concerns are not all of the same importance; clearly, security concerns are the most important. What we didWe took the following decisions:
We cleaned MDN:
What we should doI think we should do the following:
We should decouple this discussion from the documentation and avoid blocking work like mdn/content#31101. If the discussion moves forward before it, there is the opportunity to bring this to a broader group of maintainers at the next Mozilla Community Meeting (Jan 15th, 2024, I think) Hope this helps. |
Beta Was this translation helpful? Give feedback.
Hi all!
Context
Let me add some context to the current situation. Right after we migrated to GitHub at the beginning of 2020, we inherited the situation created by the Wiki era of MDN: