bendc / frontend-guidelines

Some HTML, CSS and JS best practices.
8.29k stars 653 forks source link

Unusable at this time #722

Closed mkdgs closed 9 years ago

mkdgs commented 9 years ago

Many tips (almost for javascript) rely on experimental feature, with no support on some major navigator. Like: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions

What it 's Intended to do in this guidelines ?

bendc commented 9 years ago

All browsers will support these features in the short term. In the meantime, you can use something like Babel.

mkdgs commented 9 years ago

In fact, this is not supported at this time. (short term ... maybe in 2020 for ie)

bendc commented 9 years ago

What do you mean? Arrow functions, to take the example you mentioned, have been supported by Firefox since forever ago.

mkdgs commented 9 years ago

of course firefox, is the leader. It is the only one to have implemented this. It's in draft for many other but it's not ready to use in production right now, and maybe not at least before two or three year...

Babel can be used in some projects but not for all. Imho it's just a new layer on the lasagna, that need to be carefully cooked.