为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Would browsers support JavaScript if built today?

more options

With JavaScript move from untypted language to typed language and adding class syntax to come closer to Java/C# and also Java move toward functional programming and emerge of modern languages such as Kotlin, would browser (and HTML5) still pick JavaScript as a language to support dynamic content?

To me, feels like JavaScript+HTML5 are trying to solve what Java Applets tried to solve in early days of Java but pure Java was not a good solution. However, Kotlin + HTML5 probably would be better option today if we were not stick to tons of applications and users that still rely on JavaScript in their browsers. Or are there any specific features in JavaScript that still makes it best solution?

With JavaScript move from untypted language to typed language and adding class syntax to come closer to Java/C# and also Java move toward functional programming and emerge of modern languages such as Kotlin, would browser (and HTML5) still pick JavaScript as a language to support dynamic content? To me, feels like JavaScript+HTML5 are trying to solve what Java Applets tried to solve in early days of Java but pure Java was not a good solution. However, Kotlin + HTML5 probably would be better option today if we were not stick to tons of applications and users that still rely on JavaScript in their browsers. Or are there any specific features in JavaScript that still makes it best solution?

被采纳的解决方案

You might consider posting this on a site for more general discussion because it doesn't seem to ask a support question.

P.S. Judging by how hard it has been to get rid of Flash, I don't think JavaScript is going anywhere.

定位到答案原位置 👍 1

所有回复 (1)

more options

选择的解决方案

You might consider posting this on a site for more general discussion because it doesn't seem to ask a support question.

P.S. Judging by how hard it has been to get rid of Flash, I don't think JavaScript is going anywhere.