5 ms·
While I think things have changed a lot since 2012 (when I started) I don't think they've changed that much since 2015. The language and ecosystem went through
by chrisco255 8y ago
While I think things have changed a lot since 2012 (when I started) I don't think they've changed that much since 2015. The language and ecosystem went through a lot of churn as single page apps and front-end complexity exploded. In 2012, there were something like 10 different popular JS frameworks to pick from and most of them have been all but replaced by the top 3, which seem to have stabilized: React, Angular 2+, and Vue.
ES2015 brought a lot of changes to the language itself. But recent years have been less dramatic minor syntactic improvements.
Front-end web has unique challenges and constraints that other front ends don't have to worry about as much.
A web app has to download the full payload of the app code and execute in one sitting. Yes, there's a myriad of ways to optimize this (such as caching, server-rendering, etc), but having to understand that just adds to the complexity of web development (and places evolutionary pressure on JS frameworks).
A web app has to look and run well in a huge range of screen sizes and devices and browsers. Android and iOS apps can target minimum versions of an OS or can usually ignore devices older than a few years. Browsers can't break backwards compatibility.
There is no common, prescribed tooling for the web like Android, iOS, and Windows enjoy, for example. This is a trade-off. I think the web sees more innovation and creativity as a result. But there's something to be able to spin up Visual Studio or xCode without having to worry about researching the trade-offs between 5 different approaches to tackle UI development.
Ultimately, I think JavaScript gets a bad rap, but the churn is intimately bound to its role as the universal programming language of the web. The web is no walled garden and it has evolved dramatically over the past decade. We should celebrate that JS has been flexible enough to grow with it.