Friday, August 26, 2022

"retire" JavaScript?

 JSON Creator Douglas Crockford Interview by Evrone


"Evrone: In your opinion, what expected changes in JavaScript are going to be the most important?

Douglas: The best thing we can do today to JavaScript is to retire it. Twenty years ago, I was one of the few advocates for JavaScript. Its cobbling together of nested functions and dynamic objects was brilliant. I spent a decade trying to correct its flaws. I had a minor success with ES5. But since then, there has been strong interest in further bloating the language instead of making it better. So JavaScript, like the other dinosaur languages, has become a barrier to progress. We should be focused on the next language, which should look more like E than like JavaScript."


I would add JSON to the "retirement" list, but for different reason: it failed to evolve and support many needed and useful features. Or maybe it exactly this simplicity of JSON that is missing in JavaScript, in Crockford's view?

No comments: