There is already a very well thought out list, although to my knowledge it
has never been officially blessed, at https://esdiscuss.org/topic/ranges.

Quoting:

It seems odd that after all these years of discussions and meta-discussions
about ES feature proposals, some people are still saying things like:

   - there really needs to be
   - I'd really like
   - I'd love to have

often without addressing a single one of the relevant questions:

   1. *Is it sugar?* Is it "mere" syntactic sugar (which is not
   disqualifying in and of itself), or something that requires (or benefits
   from) being baked into the language?
   2. *How much sugar?* If it is wholly or partially syntactic sugar, what
   the degree of syntactic optimization?
   3. *Frequency of benefit?* What is the frequency of the use case?
   4. *Expected improvement*? If it is something that would benefit from
   being baked into the language, what is the degree of the benefit (eg, in
   terms of performance)?
   5. *Userland implementable?* Can it be implemented in userland code? If
   so, what's the downside of that?
   6. *Implementable?* Does it present potentially difficult or intractable
   implementation challenges?
   7. *Consistent?* Is it consistent with existing syntactic and semantic
   practices in the languages?
   8. *Holistic?* Does it fill in some obvious logical gap in the current
   language design?
   9. *Understandable?* Does it place an unsustainable new "cognitive
   burden" on learners and users of the language?
   10. *Library?* Is is something that would be better provided as part of
   some kind of future standard library?
   11. *Intrusive?* Does it take over real estate that might be useful for
   future features no one has thought of yet, the obvious example being using
   special characters?
   12. *Readability?* Is it something that results in a distinct
   improvement in readability or visible semantic correctness of code?
   13. *Prior art?* Has this or a similar feature already been proposed,
   and if so what was the reaction, and how is your proposal different from
   that, or from a similar features existing in other languages?

I'm sure there are cases where simply throwing out an informal idea and
seeing how people react is useful to get a discussions started, but most
reactions will be that the proposal does not meet one or more of the above
criteria, so proposers could save themselves and other people lots of time
in advance by explaining HOW their proposal satisfies these points, not all
of which are relevant to every proposal, but those which are.

Bob

> It would be useful to have a FAQ somewhere with a version of the above 4
>> rules that is better worked out and justified, so we could point to that.
>> (From whatever public-facing forum is selected for the future; this one is
>> dead.)
>>
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to