0. Catalogue
- Directory
- Introduction
- Body
- 1 You write that type of JavaScript
- 2 Where do you use JavaScript
- 3 How long have you been using JavaScript?
- 4 You use the kind of language compiled into JS
- 5 You are more inclined to that style style
- 6 You use those ES5 features
- 7 You use those ES6 features
- 8 Do you write a test
- 9 Do you run the continuous integration CI test
- 10 How do you run the test
- 11 You use that unit test library
- 12 You use that Code quality tool
- 13 How you handle client dependencies
- 14 What kind of script build scenario do you prefer
- 15 What kind of JS module do you prefer to load the tool
- 16 You use those class libraries
- 17 You use those frames
- 18 You use ES6
- 19 You understand ES 2016
- 20 You master ES6
- is ES6 an improvement?
- 22 text editors that you prefer
- 23 Developing systems that you are more inclined to
- 24 How do you get the reusable Code class Library tool
- 25 Do you participate in JS social?
- 26 browsers supported by your application
- 27 Do you often know the latest features of JS?
- 28 Where do you learn the new features of JS
- 29 Have you heard of any of the following features
- 30 in addition to JS you first use those languages
- Statement
1. Introduction
Original: ponyfoo.com JavaScript Developer Survey Results
Translator: Love front-end, music sharing fedfun, front-end fetish Wang Haiqing blog.
Translation of a foreign Daniel to do the JS Developer survey, hope can be helpful to everyone.
2. Text
With the advent of approaching, an unprecedented response to the JS Developer Survey ended, the investigation has recovered more than 5,000 copies, exactly 5,350 questionnaires, I can't wait to share the results with you. Before sharing, first thank everyone involved in the survey developer.
This is the best time for the JS community, and I'm excited about the next survey. I've never been so interested in doing something high, and next time I'm going to do some improvement. Specifically, I'm going to put the questionnaire on GitHub a few weeks before the start of the survey, so that you can negotiate the "problem" and the "options" to get more accurate results and avoid the "I'm shocked that you didn't include Emacs" in a similar situation.
OK, now we're going to report the results. I will keep the results fairly communicated so that you can draw your conclusions.
2.1 Do you write that type of javascript?
97.4% of developers write JS for Web browsers, with 37% of developers developing mobile apps. More than 3000 people have about 56.6% developers writing server-side JS at the same time. 5.5% of the respondents used JS in a dive environment similar to Tessel and raspberry.
There are also a handful of respondents who say they use JS on other occasions, such as developing a CLI or desktop application, and others raising Pebble, Apple TV, and so on, which are classified as other categories (other) accounting for about 2.2% of respondents.
2.2 Where do you use JavaScript?
As expected, 94.4% of the respondents used JS at work, but also have a long tail, 82.3% of respondents said they would use JS in the side projects, other representatives for fun, non-profit teaching and learning.
2.3 How long have you been using JavaScript?
33% of the respondents used JS for more than 6 years, in addition, 1 years accounted for 5.2%, 2 years accounted for 12.4%, 3 years accounted for 15.1%, that is, nearly 32.7% of respondents have started using JS in recent years.
2.4 Do you use the language compiled into JS?
85% of respondents used ES6 to compile ES5, while 15% per cent of respondents used coffeescript,15.2% using dart as typescript,1.1%.
This is a question that inspires me to co-set problems and options , there are 13.8% of other choices, there are more clojurescript, Elm, Flow, JSX and so on.
2.5 Are you more inclined to that style?
The majority of JS developers surveyed (about 79.9%) tend to use semicolons, and 11% of developers do not use semicolons. For commas, 44.9% of developers prefer expressions to use, and 4.9% prefer a front-end comma. In terms of indentation, 65.5% of developers use spaces, and 29.1% of developers use tab.
2.6 Do you use those ES5 features?
79.2% of the respondents chose the array method, 76.3% of the developers used strict mode,30% developers to choose Object.create, only 28% of the people chose to use getter and setter.
2.7 Do you use those ES6 features?
Obviously, the arrow function is the most popular (79.6%), let and const accounted for the ratio of 77.8%,promises to 74.4%. Only 4% of developers using proxies,13.1% use symbols,30% developers to use iterators.
2.8 Do you write a test?
21.7% of developers never write tests, 42.9% of developers sometimes write tests, and 34.8% of developers often write tests.
2.9 Do you run the continuous integration CI test?
For CI, 40% of the developers never used, 60% of the sometimes use, 32% of the regular use.
2.10 How do you run the test?
59% of developers use a PHANTOMJS-like approach for browser-side automated testing, 51.4% run browser-side manual testing, and 53.5% of developers perform server-side automated testing.
2.11 Do you use that unit test library?
Mocha and Jasmine are the most popular unit test libraries, with tape accounting for only 9.8%.
2.12 Do you use that Code quality tool?
Eslint and Jshint divide the world, JSLint also quickly ascend, accounted for 30%.
2.13 How do you handle client dependencies?
NPM is the most popular client-dependent management tool, accounting for 20% of the 60.5%,bower, and 13.7% of native script tags.
2.14 What kind of scripting plan do you prefer to build?
The choice of building tools is also more diverse, gulp is the most popular (accounted for 40.8%), NPM Run is relatively close (accounted for 27.8%), grunt accounted for 18.5%.
2.15 What kind of JS module do you prefer to load the tool?
At this stage, most developers choose browserify or Webpack, and 29% of the developers use the Babel module first, and then use one of the two tools to modularize.
2.16 Do you use those class libraries?
This issue is also one of the reasons for promoting collaborative design questionnaires . jquery is still the most popular type of library, Lodash and underscore are also popular, accounting for 52.3% and 30.2%,XHR accounted for only 8%.
2.17 Do you use those frames?
There is no doubt that react and angular are the most popular frame, Bakbone is also more popular, accounting for 22.8%.
2.18 Do you use ES6?
18.9% of respondents never used ES6, 40% used it by accident, 30% used it on a large scale, and 10% were dedicated to it.
2.19 Do you understand ES 2016?
Half of the respondents knew ES 2016 and the other half didn't understand.
2.20 You master ES6?
9.9% of respondents were not aware of ES6, 62.8% knew ES6 Foundation, and 26.6 of respondents thought they had a good grasp of the subject.
Is 2.21 ES6 an improvement?
95% of respondents believe that ES6 is a positive promotion and will congratulate the TC39 members on their next visit. (Translator note TC39 is the ECMA Technical Committee name, responsible for the development of JS related matters)
2.22 Do you prefer a text editor?
Options are equally scattered. Sublime text is the most popular textual editor (52.7%), followed by Atom (30%), Webstorm and Vim each accounted for 25%.
2.23 are you more inclined to develop the system?
60% per cent of respondents used Mac,windows and Linux as 20%.
2.24 How do you get reusable code, class libraries, tools?
GitHub and search engines are the main sources of information, as well as blogs, Twitter and npm websites.
2.25 Do you participate in JS social?
60% of the respondents attended the meeting, and 74% of the respondents were involved in the JS technology gathering.
2.26 Browser supported by your app?
The distribution of options is very scattered, fortunately, ie is decreasing, and the sad reminder is that there are still 28 people in support of IE6 (is it a developer from China).
2.27 Do you often know the latest features of JS?
80% of developers say the latest features that follow JS.
2.28 Where do you learn the new features of JS?
Undoubtedly, the most popular source of study is MDN (75.8%) and jsweekly (37.3%), ponyfoo.com is also a good resource (translator note, the source of this article).
2.29 Have you ever heard of the following features?
85% of developers have heard of Serviceworker (Service Workers "early" know? ), Web Audio (70.5%) and INDEXEDDB (79.3%) have also attracted much attention. Do you have any idea how to use the project?
2.30 In addition to JS, you prefer to use those languages?
Many languages, we can refer to.
Thank!! Thanks to all the JS developers who are involved in the survey, your enthusiasm is far beyond expectations. Next year I will hold a similar survey in the hope that more diverse and more impartial results can be obtained.
3. Disclaimer
Love front end, music share. Fedfun hope to make progress together with you.
Blog Star selection is in progress, vote for me, thank you for your support.
Welcome any kind of reprint, please indicate loading, keep this paragraph text.
This text link http://blog.csdn.net/whqet/article/details/50274339
Independent blog Http://whqet.github.io
Sina Weibo Http://weibo.com/FedFun
Geek Headline Http://geek.csdn.net/user/publishlist/whqet
JS Developer Survey