2020 Stack Overflow Developer Survey - 65.000 Devs deler deres løn, de bedste programmeringssprog og meget mere

Stack Overflow frigav netop resultaterne af deres 2020-undersøgelse af mere end 65.000 udviklere.

Ligesom med Stack Overflow's tidligere undersøgelser har jeg kæmpet igennem deres resultater og opsummeret dem for dig sammen med min egen personlige analyse som udvikler og lærer.

Denne artikel giver dig et øjebliksbillede af, hvordan softwareudviklingsyrket ser ud i 2020.

Bemærk, at i denne artikel vil jeg kun fokusere på undersøgelsesresultaterne fra professionelle udviklere - ikke de studerende og andre mennesker, der endnu ikke er begyndt at arbejde som udviklere.

Hvis du vil lære mere om folk, der lige er ved at komme ind på området softwareudvikling, anbefaler jeg også at se på freeCodeCamps seneste New Coder Survey på 31.000 udviklere.

Bemærk også, at jeg venter på, at Stack Overflow offentliggør hele undersøgelsesresponsdatasættet (de gør det normalt et par uger efter, at de frigiver resultatsammendraget). Når de gør dette, vil jeg linke til det her, og jeg kan have nogle yderligere datavisualiseringer.

Til denne artikel deler jeg Stack Overflow officielle datavisualiseringer sammen med min egen analyse af dem og deres betydning.

For det første vil denne artikel først dække demografi: alder, uddannelsesmæssig baggrund og hvor længe folk har kodet.

For det andet vil jeg dække de værktøjer, som udviklere bruger oftest, og de værktøjer, de er mest begejstrede for.

Endelig dækker jeg udviklerløn og jobtilfredshed.

Hvor gammel er den gennemsnitlige professionelle softwareudvikler?

De fleste professionelle udviklere er i slutningen af ​​20'erne eller begyndelsen af ​​30'erne. Men som vi får se, bringer indiske udviklere (og der er mange af dem) gennemsnitsalderen ganske lidt ned.

Men i modsætning til almindelig opfattelse er kodning ikke kun en unges spil. (Jeg har prøvet mit bedst mulig at fjerne denne myte). 1 ud af 20 udviklere er 50 år eller derover.

Amerikanske udviklere har tendens til at være ældre end udviklere i andre lande med en gennemsnitsalder på næsten 34 år.

Amerikanere ser også ud til at begynde at kode senere i livet end andre lande og har i gennemsnit kun kodet i cirka 16 år - hvilket betyder at de fleste af dem først begyndte at kode før efter gymnasiet.

Og den ekstra kodningsoplevelse gør en stor forskel, når det kommer til din karriere.

Ledere og ledere har tendens til at have 14 års erfaring med kodning.

Selv for frontend-udviklere og full stack-udviklere - de to mest almindelige første jobtitler for nye udviklere - har folk i gennemsnit 8+ års kodningserfaring.

Husk, at mange mennesker er helt glade i disse roller og bliver i dem i årevis. Så det betyder ikke, at den gennemsnitlige udvikler har 8 års kodningserfaring, når de lander deres første fuld stack-udviklerjob.

De fleste professionelle udviklere begyndte faktisk at lære at kode mellem 5 og 14 år siden:

Hvad er den uddannelsesmæssige baggrund for de fleste professionelle udviklere?

Cirka 75% af udviklerne afsluttede en universitetsgrad, og mange af disse mennesker fik også en kandidatgrad.

3% af professionelle udviklere stoppede skolen efter at have afsluttet en 2-årig associeret grad, og omkring 17% af udviklerne har slet ikke opnået nogen universitetsgrad.

Dette bringer mig til to vigtige punkter:

  1. Hvis du ikke gik på college, er du ikke alene. Mange professionelle udviklere gik ikke på college.
  2. Men de fleste professionelle udviklere gik på college. Så tænk måske to gange, før du prøver at trække en Bill Gates og droppe ud for at starte din egen opstart.

Hvis du går på universitetet, vil du næsten helt sikkert tage hovedfag i datalogi. Det er langt den højest betalende major i USA, og det er også den mest almindelige major blandt professionelle udviklere.

I år besluttede Stack Overflow at klippe software engineering og computer engineering majors ind med datalogi. Men i løbet af de sidste 8 år har CS altid været langt den mest almindelige major.

Alligevel er det spændende at se, hvor mange andre store der er repræsenteret her. 4,4% af udviklerne kommer fra naturvidenskaben, 3,6% fra matematik, omkring 5% fra den liberale kunst og kunst og endda en god blanding af sundhedsvidenskabelige majors også.

Hvilke regioner er respondenterne fra undersøgelsen?

Ifølge Stack Overflow er den regionale opdeling af respondenter som følger:

+-------------------+-----------+ | Region | Responses | +-------------------+-----------+ | Europe | 24,688 | | North America | 15,570 | | Asia | 16,400 | | South America | 3,070 | | Africa | 2,709 | | Australia/Oceania | 1,570 | +-------------------+-----------+

Hvor mange af respondenterne var kvinder?

Kun 7,7% af respondenterne, der var professionelle udviklere, blev identificeret som kvinder. Men på en plusnote er dette tal steget fra 7,5% i 2019.

Hvor stor en procentdel af udviklerne lever med fysiske eller mentale forskelle?

Quite a few developers are visually impaired or completely blind. I know several people in the freeCodeCamp community who write code using screen reader tools. And it seems a lot of people in the Stack Overflow community do, too.

And around 1 in 5 respondents were living with a mental health or other difference:

Tools and technologies: the most commonly used programming language is JavaScript

JavaScript has been the most-used technology since Stack Overflow started doing the annual survey. So this result is pretty unsurprising.

This said, there are some interesting changes. Dart seems to be growing with the introduction of Flutter for mobile app development.

Kotlin has grown pretty quickly as an alternative for Java development.

And Python seems to be as healthy as ever, as we'll see a bit later.

The most loved programming language by developers

Rust has been the most loved programming language by developers for the past 4 years. The high-performance language, which just turned 5 years old this month, is used heavily by the Mozilla Firefox team.

TypeScript – a statically typed version of JavaScript – also has a passionate fanbase, and was the second most loved language.

The programming language Developers want to learn next

Developers who are already working with other programming languages are most interested in learning Python, JavaScript, Go, and TypeScript.

The top database by developer preference

And in terms of the databases developers most want to learn:

The top platform for developers

Linux is the most-loved platform, with 76.9% of developers either using it or expressing interest in using it in the future.

Docker and Kubernetes – while not operating systems – are also popular platforms to build applications on top of. In terms of cloud platforms, AWS was more popular than Azure, which was more popular than Google Cloud Platform and IBM Cloud.

In terms of developers being excited about platforms, Docker was right at the top with 24.5% of developers wanting to use it for a future project. And the interest around AWS was quite high, too:

What operating system do most developers use?

As of 2020, nearly half (46%) of developers still use Windows as their main desktop operating system.

MacOS and Linux are nearly tied for second.

A small minority of mavericks out there use BSD. If you want to learn more about that, here's a quick overview of BSD and its benefits.

The top frameworks, libraries, and developer tools

Node.js is again the most widely used non-language, non-operating system, non-database tool.

Machine learning tools are becoming more widely used this year, too. Quite a few developers are using TensorFlow, Pandas, and PyTorch.

And this may surprise some people, but the most widely used web framework / library in 2020 is still jQuery.

There's an absurd number of older websites that still use jQuery, even though many developers would love to rip it out of their sites.

If you are trying to ween your websites off of jQuery, this site shows you how to replicate jQuery functionality using plain vanilla JavaScript.

The other big takeaways from this chart:

  • React has been steadily growing.
  • Vue.js and Angular aren't going away any time soon. They are still widely used front end frameworks.

How do developers choose their tools?

This was a new question on this year's Stack Overflow survey: how do developers research new tools and decide whether to use them?

The most popular approach: if it has a free trial, just give it a try.

This said, most developers don't feel a whole lot of power in determining which tools their team will ultimately use.

I suspect one reason for this may be that large companies often have Chief Information Officers (CIOs) who make enterprise software license purchasing decisions at an institutional level.

This said, the fact that 18% of developers feel they have "a great deal of influence" is heartening. This figure is probably much higher than it would have been 10 years ago.

How developers use different technologies in tandem

One of the coolest parts of this year's Stack Overflow survey is this data visualization, which shows the tools developers most commonly pair with other tools.

Here are the clusters. The size of each circle corresponds to the proportion of survey respondents who use the tool:

It should be no surprise that Ruby and Rails tend to get used together, or that .NET developers tend to develop on Windows machines and Azure Cloud.

But there are some interesting observations we can make here, too. The fact that MySQL is more closely associated with PHP, for example, is a reminder that the LAMP stack (Linux, Apache, MySQL, PHP) is still a widely used toolchain.

Contrast this with MongoDB, which seems to be most widely used with JavaScript ecosystem tools.

Angular embraced TypeScript back in 2015, and it is now more commonly associated with TypeScript than it is with JavaScript.

Dart started out as a web development tool at Google. Rather than being incorporated into Angular, it is now more commonly associated with mobile app development, thanks to the surging popularity of the Flutter framework.

In the upper left hand corner, we also get some insight into the tools that DevOps and Site Reliability Engineers use most. We can even see the overlap with the whole data science and machine learning fields.

The conclusions I'm drawing from this chart may be overly broad. I am excited to dig into Stack Overflow's full dataset once they release it, and see whether the data bears out these observations.

How often do developers learn new technologies?

Professional developers pick up new tools often. Nearly ¾ of them seem to learn at least one new technology every year.

Working life: what percentage of developers are self-employed?

A vast majority of professional developers work for an employer. Less than 10% of them were self-employed or working as freelancers or contractors when surveyed in February 2020.

Also note that 1 out of every 8 respondents were students, but even some of those students identified as professional developers. These students may have gotten internships or even full-time developer jobs while still finishing school.

Most developers work at small or medium-sized businesses (SMBs). Only about 35% of them work at companies with more than 500 employees.

For some perspective, out of the FAANG software companies, Google, Facebook, Amazon, and Apple all have more than 10,000 employees. Netflix had just under 10,000 employees in 2019, and probably has more than that now. Microsoft, which isn't included in FAANG for some reason (maybe it would make the acronym unpronounceable?) also has more than 10,000 employees.

My point is that all of these "name brand" software companies and their peers only employ about 14% of developers. Most developers are working at companies you haven't heard of. Many of them aren't even working at tech companies, but rather at banks, hospitals, and local governments. As of 2020, Pretty much every Fortune 1000 company has software engineers on staff.

Less than half of respondents considered their company's new developer onboarding process to be "good".

But about 65% of them were satisfied with their jobs.

The main consideration that spurs developers to start looking for new jobs? Money. Not a huge surprise there.

But what is surprising is that  a desire to work with new technologies came in second – above growth and leadership opportunities and work/life balance.

And when it comes to job satisfaction, "Languages, frameworks, and other technologies I'd be working with" was the main consideration for most developers. But... only for men.

For the 3,694 women who responded to the survey, "office environment and company culture" was the most important consideration. The technologies they'd be working with were a tertiary consideration.

There are some other differences as well. Diversity was a much more important consideration for women.

What is the average developer salary in 2020?

Here's a really cool data visualization from the report. The Y axis is median salary, and the X axis is years of programming experience. Study this for a moment:

If you want to get a high wage earlier in your career, it would seem that DevOps and Site Reliability Engineering are your golden tickets.

But before you rush out to start reading Linux man pages, I would be remiss to not point out: all of the jobs here fall between 7 and 12 years of professional programming experience.

One mistake I often see people make is to prematurely specialize. Your first developer job is unlikely to be as a DevOps engineer. Most likely, it will be as a full stack developer. You'll specialize on-the-job from there, according to the work your bosses assign to you.

But this chart is a helpful guide, because of the sheer volume of responses and the resulting statistical significance. And it may give you some ideas for what types of dev team responsibilities you should ask your boss for.

Also keep in mind that these numbers are global. Here is the difference between salaries globally and salaries here in the US, which has traditionally been the highest-paid developer market in the world.

First, global salaries for different roles, based on 34,279 survey responses (in US dollars):

Now here are the United States wages for different roles, based on 8,006 responses:

US developers earn a $60,000 premium over their non-US counterparts across the board.

One thing you'll note from looking at these charts: back end developers in the US seem to average about $8,000 more than full stack developers do, but full stack developers make slightly more outside the US.

I'm not certain why this is, but I speculate this is because the US software industry is older than in most other countries. Thus it has a higher degree of job specialization. Since full stack development is a superset of back end development, many of today's full stack developers will specialize on the job and become tomorrow's back end developers.

Those are all my highlights from Stack Overflow's 2020 Developer Survey

Tak for læsningen. Hvis du har tid, kan du læse gennem de fulde undersøgelsesresultater.

Tidligere har Stack Overflow offentliggjort deres undersøgelsesdatasæt, så når det sker, vil folk opdage meget mere indsigt.

Hvad er dine tanker om disse undersøgelsesresultater? Savnede jeg nogle store åbenbaringer? I så fald skal du sørge for at tweet det til mig.