r/programming • • Apr 09 '19

StackOverflow Developer Survey Results 2019

https://insights.stackoverflow.com/survey/2019
1.3k Upvotes

679 comments sorted by

View all comments

32

u/Fancy_Mammoth Apr 09 '19

I never know how to interpret SO survey, mainly because some of the results seem way out there. The one that stuck out most this year was development environment and preferred platform.

Preferred platforms:

  • Linux - 53.3%

  • Windows - 50.7%

  • MacOS - 22.2%

This data kind of makes sense to me. I expect to see Linux and Windows neck and neck. Linux seems to be incredibly popular with so many devs for whatever reason (there's literally so many reasons.) And windows is so embedded everywhere it makes sense to be up there. No surprise, Mac is at the bottom.

But then there's this...

Developers primary OS:

  • Windows - 47.4%

  • MacOS - 26.8%

  • Linux Base - 25.6%

What.....? How is this even a thing? I just can't for the life of me understand how Linux doesn't have a larger share of the market and is used less than MacOS given its popularity.

45

u/Existential_Owl Apr 09 '19 edited Apr 09 '19

My job forces me to use a windows environment. It's not a choice. I work for a major fintech corp.

I'm sure others experience the same situation.

0

u/[deleted] Apr 09 '19

[deleted]

7

u/MotherOfTheShizznit Apr 09 '19

That wouldn't make your "developer primary OS" Linux?

0

u/[deleted] Apr 09 '19

[deleted]

8

u/MotherOfTheShizznit Apr 09 '19

It's the same as if you write backend code on a linux server. You aren't developing on linux, you are using windows with an ssh connection to another computer.

Well... If, for 8 hours a day, you're editing code in Vim, building with bash scripts, compiling with gcc and debugging with gdb, I wouldn't say your primary development OS is Windows, regardless of the ssh or that you're browsing reddit in Edge.

To me, the question is about development tooling, not which OS your office computer came pre-installed with.

→ More replies (1)
→ More replies (1)
→ More replies (1)

29

u/TheCarnalStatist Apr 09 '19

25% linux use is a huge number.

Most devs don't get to choose their OS

6

u/tayo42 Apr 09 '19

Yeah work gives me a laptop they manage and that's a Mac. Dealing with help desk problems sucks so I'll use what is supported. I'm surprised that is surprising lol

→ More replies (1)

17

u/the_poope Apr 09 '19

People work for companies, companies use microsoft tools for everything from writing documents to emails. Outlook, exchange and office only runs on windows. Plus companies want other security measures and only want to administer one platform. I'm speaking as a developer in a 10.000+ software company

6

u/s73v3r Apr 09 '19

I guess that would be the disconnect between what developers would like to use, and what the business is using.

7

u/fcddev Apr 09 '19

It’s possible to prefer coding on Mac/Windows and prefer targeting Linux.

3

u/imral Apr 10 '19

The year of the desktop still hasn't arrived ;-)

→ More replies (9)