Why don't developers like JavaScript?

Stack Overflow: Developers use JavaScript and love Rust

The operators of the Internet platform Stack Overflow have published the results of the developer survey 2018. This year a good 100,000 developers from 183 countries and regions took part in the survey. The questions not only covered the most used and popular or least popular programming languages ​​and tools, but also addressed application trends and salary issues. Multiple answers were possible for most of the answers.

Languages ​​and developer types

It is hardly surprising that JavaScript tops the list of the most widely used languages ​​with 69.8 percent. In the overall overview, which not only takes into account conventional programming languages, but also markup languages, among other things, HTML (68.5%), CSS (65.1%), SQL (57%) and, by a considerable margin, Java (45.3%) ). Overall, the top 5 is thus shaped by the spectrum of the full-stack developer. Almost half of the respondents (48.2%) describe themselves as such, with 57.9% also or more likely to see themselves as back-end developers and 37.8% as front-end developers. Only 20.4 percent are developers of mobile applications.

The list of the most popular programming languages ​​looks very different from the most popular ones. Here Rust leads the field with 78.9 percent, followed by Kotlin with 75, 1% and Python with 68%. The latter is on the whole in an upward trend and has now also left C # and PHP behind in terms of use. Python tops the list of the most wanted languages ​​that developers don't yet use but want to learn. One reason for the growing popularity is likely to be the use of the language in the growing area of ​​machine learning.

Again, the respondents were not only allowed to name their favorites, but also the languages ​​they dread most. As in previous years, Visual Basic 6 was the clear "winner" in the category with 89.9 percent, followed by Cobol (84.1%) and CoffeScript (82.7%). The point describes languages ​​that developers use but want to get rid of. Developers obviously make the most money with F #, although the field is densely occupied and Ocaml, Clojure and Groovy also bring annual incomes above 70,000 US dollars on a global average.

The developer's toolkit

The developers obviously give Microsoft very good marks for the tools. Open-source Visual Studio Code (34.9%) tops the list of the most popular development tools, just ahead of Visual Studio (34.3%). In third place is Notepad ++ (34.2%). Respondents from the Sysadmin / DevOps area clearly favor Vim (40.1%), which is followed by the top 3 tools of the overall evaluation. Among the mobile developers, the Android platform is obviously more represented than iOS: Here, Android Studio is ahead of Visual Studio Code (36.6%) and XCode (35.1%) with 56.6 percent.

Frameworks from web development to machine learning

In terms of the frameworks used, the web environment undisputedly determines the top positions with Node.js (49.6%), Angular (36.9%) and React (27.8%). .NET Core is just behind (27.2%), and the Java framework Spring comes in at 17.6 percent. Machine learning techniques find their way into this category. TensorFlow comes to 7.8%, Torch / PyTorch only 1.7%. TensorFlow leads the field of the most popular frameworks (73.5%), although it is worth noting that numerous frameworks are close together. In the top 5 follow React (69.4%), Torch / PyTorch (68%), Node.js (66.4%) and with 66% each .NET Core, Spark and Spring.

A separate block of questions was devoted to artificial intelligence (AI). In just under three quarters (72.8%), enthusiasm predominates, and only 19 percent express more fear of the dangers of AI than optimism. The respondents clearly see their responsibility: 47.8 percent believe that developers are responsible for the consequences of AI, only 27.9 percent referred to governments and other regulatory bodies. 16.6 percent see the responsibility in leading industries and at least 7.7 percent think that no one is responsible.

Ethics and responsibility

The answers to questions about ethical aspects are also interesting. 58.5 percent say they would refuse to write code that they consider clearly unethical. About a third (36.6 percent) make the procedure dependent on the situation, and 4.8 percent obviously have no concerns. The further handling of ethical problems in the code is difficult. Almost half make the decision as to whether they would report it based on the code. 35.7 percent want to report it within the company and 13.1 percent publicly. 4.6 percent find a report superfluous. Incidentally, only 19.7 percent see the responsibility for code that does something unethical with the developers. 57.5 percent think that management is responsible and 22.8 percent blame the person who came up with the original idea.

In addition, the survey takes another look at the salary and employment situation. Also interesting is a diagram that tries to show connections between techniques, programming languages, databases and tools. A look at the open source commitment of developers shows that almost half of them contribute to open source projects. Developers who work with Rust, Julia and Clojure are particularly active. In contrast, despite Microsoft's increased commitment in this area, developers who work with VBA, VB.NET and C # are underrepresented in open-source projects. A good 80 percent of those surveyed also program as a hobby outside of work.

Further details such as the ongoing trend of DevOps and figures on the globally quite different incomes can be found in the publicly available survey results. They also show that the average developer workstation has two monitors and developers pay attention to their regular meals. Women are still clearly underrepresented in the survey at 6.8 percent. (rme)