stage 0 vs stage 4 TC39 process javascript
Asked Answered
S

1

8

What is the difference between stage 0 and stage 4 phase of JS changes with respect to TC39 Process of JS implementation.

Which stage code is recommended for writing production code.

P.S: I can use babel preprocessor.

Shelter answered 1/2, 2017 at 9:0 Comment(4)
Can you clarify what is unclear after reading e.g. this document? tc39.github.io/process-documentSofer
"Which stage code is recommended for writing production code" - It's your code. Use whichever stage you feel comfortable using.Usherette
@JoeClay I know this is my code and I can add whatever I want to add. If you see my question I have clearly mentioned which one is recommended from experts like you for writing production ready code.Shelter
Read this blog: medium.freecodecamp.org/…Nomology
C
5

To be honest, it is really depends on yourself.

As you can see, you can only be sure that a feature will be included in the standard once its proposal has reached stage 4. Then its inclusion in the next ECMAScript release is probable, but not 100% sure, either (it may take longer).

Object.observe is an example of an ECMAScript proposal that had progressed until stage 2, but was ultimately withdrawn.

Cajun answered 22/5, 2017 at 8:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.