I didn't expect everyone to be so positive, and next time I would definitely make some improvements to the layout. In other words, I'm going to put the survey on GitHub first so that the community has one or more weeks to collect improvement questions and options before starting the investigation. In this way, I can get more accurate results and avoid complaints such as "I'm shocked that you didn't include Emacs."
Now, based on the results of the survey. I will remain neutral and publish the results of the survey so that you can draw your own fair conclusions.
Respondents with up to 85% said they used ES6 to compile ES5. At the same time, 15% of the people still use
CoffeeScript , 15.2% of the people use
TypeScript , only a mere 1.1% of people use
This is one of the issues that I would like to explore further, since 13.8% of the people chose "other" and the majority of the answers to "othe (Other)" were
Flow , and
The vast majority of developers (79.9%) who answered this question chose semicolons. Instead, 11% of developers say they prefer not to use semicolons.
In terms of commas, 44.9% of developers prefer to put commas at the end of an expression, whereas 4.9% of developers prefer to write commas first.
In terms of indentation, 65.5% of developers prefer to use spaces, while 29.1% of developers prefer to use tabs (tab).
What features of ES5 have you used?
79.2% of respondents have used
Array(数组) some practical methods, and 76.3% of developers use strict mode. 30% of developers
Object.create , while those using getters and setters accounted for only 28%.
What features of ES6 have you used?
Obviously, in these polls, the arrow function is the most used ES6 feature, accounting for 79.6%. Of all the investigators, let and Const combined accounted for 77.8%. Promises is also used by 74.4% of developers. Unsurprisingly, only 4% of participants used proxies, and only 13.1% said they used symbols, while more than 30% said they were using iterators.
Did you write the test?
21.7% of developers say they never write any tests. Most people write some tests occasionally. 34.8% of people always write tests.
Do you run continuous integration testing?
Similar to CI, although many people (more than 40%) do not use CI servers, almost 60% say they use CI in a few days, and 32% of them always run the test code on the CI server.
How do you run the test code?
59% of developers prefer to run automated browser tests using PHANTOMJS or similar tools. There are also 51.3% of developers who prefer to run tests manually on a Web browser. 53.5% of voters will perform automated tests on the server side.
Which unit test library have you used?
Which Code Quality Inspection tool have you used?
It seems that respondents were divided between ESLint and Jshint, but JSLint still had a turnout of almost 30%, and the momentum was surprisingly strong after all these years.
How do you handle client dependencies?
NPM takes over the world of client-dependent management systems, with more than 60% of the vote proving its way. Bower still has 20% of viewers, while ordinary old-fashioned methods, managed by downloading and inserting
<script> tags, get 13.7% of the votes.
What is your preferred script-building scenario?
The choice of build tools is scattered, in part because there are too many different options to choose from. Gulp is the most popular, with more than 40% of the votes, followed by use
npm run , with 27.8%. Grunt received 18.5% of supporters.
For now, it seems that most developers are hovering between browserify and Webpack, which is 7% higher. 29% of users say they use Babel to convert before they use the two tools mentioned earlier to package their modules.
What libraries have you used?
xhr mini-Library received only 8% of the votes.
What frameworks have you used?
Unsurprisingly, React and Angular are well ahead of other frameworks, with 22.8% of Backbone still in a safe position.
Do you use ES6?
Respondents were quite divided on the issue, with nearly 20% of people almost never using ES6, more than 10% of them only wrote ES6, nearly 30% of people used ES6 extensively, and nearly 40% of people used it occasionally.
Do you know what features will be in the coming ES2016?
Roughly speaking, more than half of the voters said they did not know what would happen in the upcoming ES2016. The other half is familiar with the next version.
Do you know ES6?
More than 60% of respondents seem to understand the basic concepts. 10% of people did not understand ES6, and 25% of respondents thought they knew ES6 well.
Do you think ES6 is a progress?
What text editor do you prefer?
Again, the results are very scattered because of the variety of choices that exist. More than half of the respondents like Sublime Text, more than 30% of respondents like to use atom and its open source clone version. More than 25% of the votes were cast to Webstorm, and 25% of the votes were cast to Vi/vim.
What operating system do you prefer to use as a development environment?
More than 60% of voters use Macs, and users who use Linux and Windows are close to 20%.
In what way do you search for reusable code, libraries, and tools?
Respondents seem to prefer GitHub and search engines, but some also use blogs, Twitter, and NPM websites.
Nearly 60% of the people attended at least once, and 74% said they liked to go to parties.
The answer is fairly fragmented, but fortunately most respondents say they are no longer dealing with customers who use IE6.
Have you heard of any of the following new features?
More than 85% people have heard of Serviceworker, and I wonder how many of these people have used it.
There are too many languages to choose from and I'm sure I'll miss out. But the result is self-evident.
Finally, I would like to thank everyone who participated in this survey. The popularity of the survey exceeded my expectations and I am looking forward to a similar investigation next year. I hope that it will be a more diversified, perhaps less biased, investigation.
What did you get out of this investigation?
Original Author: Ponyfoo
From: Nuggets translation program
Translator: Sqrthree (Root three)