State of JavaScript: The programming language is anything but boring
No matter how developers feel about JavaScript, one thing is for certain: the programming language keeps evolving year after year. JavaScript developers Raphaël Benitte, Sacha Greif, and Michael Rambeau released the State of JavaScript 2017 report to get a complete picture of the programming language.
“A few years back, a JavaScript survey would’ve been a simple matter. Question 1: are you using jQuery? Question 2: any comments? Boom, done!,” the developers wrote. “But as we all know, things have changed. The JavaScript ecosystem is richer than ever, and even the most experienced developer can start to hesitate when considering the multitude of options available at every stage.”
The survey looked at answers from more than 28,000 developers and covered topics ranging from front-end libraries, build tools, mobile, and testing.
When talking about JavaScript, the developers note that JavaScript is not just a single language. There is a range of different flavors developers use. While EcmaScript (ES) 6 is the established standard, developers are also using ES5, TypeScript, Flow, Elm, ClojureScript, and Reason. A majority of developers are also using two or more different libraries. On a scale from 1 to 5, developers are at a 4 (mostly happy) when it comes to how happy they are with the current state of flavors.
On the front end, React remains the dominant framework. However, the survey found interest in Vue is steadily increasing, while Angular is losing steam. Developers are at 3.8 when it comes to their overall happiness with front-end tools.
On the back end, Express is by far the most popular contender with Koa, Meteor, and Hapi slowly making their way behind Express.
For testing, Jest and Enzyme stand out with high satisfaction ratings. Other popular testing tools include Mocha, Jasmine, Tape, and Ava. “Like the rest of the JavaScript world, the testing landscape is a highly competitive one, with rapid release cycles, feature and performance comparisons, and constant one-upmanship between the frameworks,” the developers wrote.
Finally, native apps remain the most reliable solution when it comes to mobile, with almost half of the respondents stating they are satisfied with no library. PhoneGap/Cordova has a high usage score but comes with a low satisfaction rating. The developers expect to React Native will disrupt the current state of things soon.
Other results from the survey found Redux is the most popular state management tool, followed by an interest in GraphQL, Relay Modern, and Apollo; developers prefer SASS/SCSS and plain CSS over CSS-in-JS approaches, and NPM and Webpack are the “king” of build tools.
Still to come are survey results on popular features and opinions about the general state of the language. According to the researchers, there was too much data they have not been able to sort through yet but will release the results in the upcoming weeks. “In any case, just like last year our overall conclusion remains the same: JavaScript keeps improving and evolving at an ever-increasing pace. This is a bit scary, but it’s also exciting: after all, you know that learning JavaScript is never going to get boring!” the developers wrote.
0 Comments
Post a Comment