The most detailed JavaScript developer Survey Report

Source: Internet
Author: User
Tags mozilla developer network

The most detailed JavaScript developer Survey Report

It's almost the end of the year. Our investigation into JavaScript developers has also ended. The answer to this survey exceeds expectation. I am very happy to share my achievements with you!

The answer is more than 5000. I can't wait to share the details of the survey. However, before that, I would like to thank you for your participation. This is a great moment for the JavaScript community. Let's look forward to it together!

I did not expect such a fierce response. I will make some improvements next time. That is to say, I will put the investigation on GitHub first, so that the Community can collect related questions and options in a few weeks before the investigation starts. In this way, you can produce more accurate results and avoid the like: "I'm surprised you didn't include Emacs !" .

Next, it's the result of the investigation. I will maintain fairness when publishing the results so that everyone can draw a non-biased conclusion.

1. What type of JavaScript do you write?

97.4% of respondents wrote JavaScript For Web browsers, 37% of whom also wrote mobile Web applications. More than 3000 people-about 56.6%-write JavaScript on the server. Of these, 5.5% use JavaScript in an embedded environment, such as Tessel or Raspberry Pi.

Some participants said they were using JavaScript elsewhere, apparently when developing CLI and desktop applications. Pebble and Apple TV are also mentioned. These are all divided into Other classes, accounting for 2.2% of the votes.

2. Where do you use JavaScript?

As expected, 94.9% of voters use JavaScript at work. However, a large part of the statistics-82.3%-also uses JavaScript in amateur projects. Other replies include teaching and learning because of interest or not-for-profit organizations.

3. How long have you been writing JavaScript?

More than 33% of respondents have written JavaScript code for more than six years. In addition, 5.2% began writing JavaScript a year ago, 12.4% two years ago, and 15.1% three years ago. That is to say, 32.7% of people have started writing JavaScript in recent years.

4. Which language do you use to compile JavaScript?

85% of respondents replied that they had compiled ES6 to ES5. At the same time, 15% still uses CoffeeScript, 15.2% uses TypeScript, and a poor 1.1% uses Dart.

This is one of the questions I hope more people can participate in the cooperation, because 13.8% of them chose "Other. In these 13.8%, the vast majority of answers are ClojureScript, elm, Flow, and JSX.

5. What JavaScript format do you prefer?

The vast majority of JavaScript developers prefer semicolons, reaching 79.9%. In contrast, 11% of people say they do not like to use semicolons. When it comes to commas, 44.9% of people prefer to use the expression, while 4.9% expect the comma-first syntax. There are also space indentation, 65.5% of people like the space key, and 29.1% prefer to use tab.

6. What ES5 features do you use?

79.2% of respondents agreed with the function's Array method, while 76.3% said they were using strict mode, 30% using Object. create, and only 28% using getter and setters.

7. What ES6 features do you use?

It is worth noting that the arrow function is the most commonly used ES6 feature in this survey: 79.6%. The use of Let and const keywords is 77.8%, and promise is also very powerful, with 74.4%. As expected, only 4% of respondents use proxies. Only 13.1% of users indicate that they use symbols, and more than 30% of users say they use iterators.

8. Do you want to write a test?

Although 21.7% means they never write any tests, most people write some tests, and 34.8% often write tests.

9. Do you want to run continuous integration testing?

The same is true for CI, although more people do not use the CI server-more than 40%. Nearly 60% of respondents use CI at least occasionally, of which 32% often run tests on the CI server.

10. How do you run the test?

59% prefer to use PhantomJS or a browser similar to running automated testing, and 51.3% prefer to perform manual testing on a web browser. The automated test on the server has gained a 53.5% pass rate.

11. What unit test library do you use?

It seems that most respondents prefer either Mocha or Jasmine to run JavaScript tests, and Tape received 9.8% of the vote.

12. What code quality tools do you use?

It seems that the respondents either chose ESLint or in the JSHint camp, but JSLint was unexpectedly strong after so many years, with nearly 30%.

13. How do you handle client dependencies?

Npm voted 60% as the first choice for the client dependency management system. Bower still has a 20% share, while the old <script> has only 13.7% download and insertion.

14. What is your preferred build script solution?

The build tool has different options, in part because there are many options. Gulp is the most popular, with more than 40% votes. Followed by npm run, which is 27.8%, and Grunt was recognized by 18.5%.

15. What is your preferred JavaScript module loading tool?

At present, it seems that most people are hesitant between Browserify and Webpack, while the latter is nearly seven points ahead of the former. 29% of users said they preferred to use the Babel module, but before that, we can speculate that one of the two tools was used to package their own modules.

16. What database do you use?

This is one of the many issues that can benefit from collaborative editing. JQuery is still strong, with more than 50% votes. Most JavaScript developers vote for Lodash or underscore, whilexhrMicro-databases only vote 8%.

17. What framework do you use?

It is not surprising that React and Angular will lead the crowd. Backbone ranks third, which is 22.8%.

18. How often do you use ES6?

On this issue, we have a lot of disagreement. nearly 20% of people have never used ES6, and more than 10% of ES6 users only use it. Nearly 30% of people are involved in this issue and occasionally use it.

19. Do you know what will happen to ES2016?

Roughly speaking, half of respondents do not know what ES2016 will happen, but the other half is heard.

20. Do you understand ES6?

More than 60% of respondents know basic knowledge, 10% do not know ES6, and more than 25% think they know ES6 quite well.

21. Do you think ES6 has improved?

Nearly 95% of respondents believe ES6 has improved their language.

22. What is your preferred text editor?

There are also differences. More than half of respondents liked Sublime Text, and more than 30% liked Atom, its open-source replica. More than 25% of respondents support WebStorm and more than 25% support vi/vim.

23. What is your preferred operating system?

More than 60% of voting users use Mac, while Linux and Windows users are close to 20%.

24. How do you find reusable code, libraries, and tools?

Respondents seem to prefer GitHub and search engines, but there are also many websites through blogs, Twitter and npm.

25. Do you participate in JavaScript social activities?

Nearly 60% of people attended at least one meeting, while 74% said they liked to attend the meeting.

26. What browser does your JavaScript Application Support?

There are a variety of answers, but fortunately most people say they are not handling customers on ie6.

27. Do you regularly understand the latest functions of JavaScript?

About 80% of respondents will try and maintain the latest JavaScript Functions.

28. Where do you know the latest JavaScript Functions?

As expected, the first-class Mozilla Developer Network is the leader in JavaScript documentation and news. JavaScript Weekly is also a source of news and articles and is welcomed by nearly 40% of respondents.

29. What features have you heard?

Over 85% of voters have heard of ServiceWorker, but I 'd like to know how many people actually use it!

30. In addition to JavaScript, what languages do you mainly use?

There are too many languages, and I must have missed some, but the results are all in vain.

Thanks!

Finally, I would like to thank you for your participation. JavaScript is more popular than I expected, and I look forward to another similar investigation next year. We also hope to present a more diversified and equitable result for everyone.

If there is anything unsatisfactory about this investigation, please correct me.

Http://www.codeceo.com/article/javascript-survey.html.
JavaScript Developer Survey Results

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.