4 ms·
Hello! I assume you are talking about we development. As a developer, the new versions of EcmaScript include good features that make easier the development of
by angelmm 10y ago
Hello! I assume you are talking about we development.
As a developer, the new versions of EcmaScript include good features that make easier the development of our applications. Also, ES6 is not a beta, it's a new version of the language. We are talking about frontend, so the execution environment of our application is unknown. However, the benefits of using the new features are big.
For me, the most important one is the new methods on basic types. With old versions of EcmaScript, I needed to rely in third party libraries to add some functionalities to my project. With the new versions of ES, my code is more independent from external sources.
Also, Babel provides backward compatibility for old versions of the language. As I mentioned, we don't know the execution environment of our project, but the TC39, the committee behind the decisions of the new features, has thought in this. Adding backward compatibility is a requirement for new features in the language.
- pags 10y ago"With the new versions of ES, my code is more independent from external sources." What about all of those external sources brought in to support building\transpiling\source map generation\whatever?
- angelmm 10y agoI consider Babel a trusted source. I prefer to transpile the code by Babel instead of using 15 libraries developed by one person. Also, I can remove some transpilation plugins as soon as the browsers implement it