modern-js-cheatsheet icon indicating copy to clipboard operation
modern-js-cheatsheet copied to clipboard

Being clear about not (yet) standard feature

Open QuentinRoy opened this issue 7 years ago • 1 comments

I find it dangerous to encourage people to use not yet standardized features of the language.

For example, object rest/spread is still in stage 3, but that is not mentioned in the guide.

QuentinRoy avatar Dec 23 '17 11:12 QuentinRoy

Hi @QuentinRoy ,

This document is about language features used in a big number of codebases existing and to come, so if a language feature is explained there it's because people already use it.

But you are right to point out that some feature are not fully standardized yet and it could be written when its the case.

Anyway, if such a feature (like object rest) would have a different behavior when standardized, there would be a nice and clear transition path considering the number of people already using it. If it were the case, I would say how to do it immediately via a PR.

If you are willing to add an indication for non-standardized features in the document, feel free to submit a PR :+1: .

mbeaudru avatar Jan 08 '18 12:01 mbeaudru