Skip to main content
Participant
May 19, 2021
Question

es6, the future and CreateJs

  • May 19, 2021
  • 1 reply
  • 862 views

Hi, is there any roadmap going ahead, (as es5 will be whittled out over the next decade), with Animate and CreateJs, being that the CreateJs libraries are all in es5, and the creators of the lib have stopped supporting it  (because they themselves received no support from Adobe)? Will Adobe be making their own CJS lib? Any iformation would be apprecaited as the company I work for has to think in longer lifecycles than just a few years. 

    This topic has been closed for replies.

    1 reply

    Legend
    May 20, 2021

    Are you perhaps under the impression that ES5 code is going to stop working in browsers, ever?

    Participant
    May 20, 2021

    Well, a company I work for is certainly considering it. Mind you that they think ahead like 10 years. And the committment that they need to make is to update thousands of very large pages to compilant code (if they would have to fully migrate to es6). And while a large portion of the codebase we will be using will be in es6, having some libs in es5, seemed, possibly problematic in say, 10 years.

     

    And, what's more, there is a significant amount of other's who are concerned, who are looking specifically at CJS. So, if you have any thoughts, we'd love to hear them.

    Legend
    May 20, 2021

    JavaScript/ECMAScript, to the best of my knowledge, has never broken backward compatibility with any previous versions. It's rather obvious why this would be the case, since any break in backward compatibility would immediately render potentially millions of web sites nonfunctional. That's why modern browsers can still run JavaScript from the mid-90s perfectly well. The nature of the web demands that the language must maintain 100% backward compatibility. That's why all potentially breaking changes in its behavior are firewalled behind strict mode.

     

    If you want to worry about something, worry about changes to the browser DOM.