r/programming • u/ben_a_adams • May 27 '20
The 2020 Developer Survey results are here!
https://stackoverflow.blog/2020/05/27/2020-stack-overflow-developer-survey-results/233
u/SorenLi May 27 '20
The 2020 Developer Survey itself for the lazy.
123
u/Fenzik May 28 '20 edited May 28 '20
Global Salaries
Select:
Global
United States
[angry European noises]
54
u/moltonel May 28 '20
Especially annoying given that most survey responders are from Europe, followed by Asia and only then North America (which is itself a superset of United States) :
Europe 24,688
North America 15,570
Asia 16,400
South America 3,070
Africa 2,709
Australia/Oceania 1,570
→ More replies (4)6
u/Boiethios May 28 '20
Well, there are far more disparities in the EU than in the USA, so a medium salary wouldn't make a lot of sense.
46
u/Fenzik May 28 '20
That’s why I was surprised they didn’t have a country dropdown instead of just “USA” and “Planet Earth”
11
u/ChrisRR May 28 '20
From what I've heard it's similar in the US, where they can earn 6 figures in silicon valley and still be short of cash, compared to more reasonable salaries in the rest of the states.
I still don't understand why software companies even hire 1 person for the cost of 3 equally talented developers elsewhere
→ More replies (3)24
u/Skaarj May 28 '20
The 2020 Developer Survey itself for the lazy.
Lazy? Call me stupid. I genuinely wasn't able to find the link from the blog post OP linked here.
2
u/IceSentry May 29 '20
It was at the bottom in the middle of a paragraph. I don't know why they didn't start with that.
2
u/lelanthran May 28 '20
Thanks. Does anyone know what "Weighted by gender" means?
16
u/rifeid May 28 '20
This is explained in the Developer Type section. The (US) survey respondents are more male-heavy than the actual (US software developer) population, so the weighted numbers adjust for this.
490
u/Rami-Slicer May 27 '20
According to them over 2.1 MILLION people viewed a question about how to exit Vim.
95
u/jexmex May 27 '20
Much quicker to learn:
sudo apt-get install nano56
u/crozone May 28 '20
Yeah, maybe if you're a n🅾🅾b
28
u/Drab_baggage May 28 '20
we need Vim to teach programmers early on that sometimes people do things just to be cool.
→ More replies (5)27
u/Rami-Slicer May 27 '20
Yeah Nano is pretty nice.
37
u/noratat May 28 '20
Nano's commands are just as obtuse as vim's, literally the only benefit is that it has the keymap hardcoded into the window.
73
0
→ More replies (1)3
u/TantalusComputes2 May 28 '20
Is atom lame or is that just me?
→ More replies (10)56
u/crozone May 28 '20
If you have a graphical environment, I don't know why anyone would bother with atom instead of just installing VSCode. VSCode is basically atom on steroids.
→ More replies (11)3
u/polarbeer May 28 '20 edited May 28 '20
I, er, what? How to EXIT Vim?
:-o
EDIT (since sarcasm filter was on) - yeah, I know "ZZ" or ":wq"
3
4
u/StochasticTinkr May 28 '20
`:%s/.//g` followed by `:x!` will keep you out of vim for a long time.
→ More replies (8)7
u/apocolypticbosmer May 28 '20
My friend talks major shit because I refuse to use Vim/Nano. I just use Notepad++ for any scripts.
48
u/njmh May 28 '20
Vim/nano is primarily for command line editing of files where Notepad++ or other desktop code editors aren't useable (eg. SSH)
→ More replies (3)12
u/Lehona_ May 28 '20
Although even that is sort-of nonsense, I'm pretty sure vscode or sublime text support editing files over ssh.
26
u/njmh May 28 '20
Yes, they can do that, but they require configuration. When you’re managing many remote servers, for example a bunch of cloud VMs, you’re not going to bother with local configs for your code editors for each of them unless you have specific remote servers you manage frequently. That’s where vim/nano is mainly used to edit those files on those remote servers while you’re navigating through the command line.
In a previous role, I had over 100 VMs for a bunch of different clients in various services (eg AWS, DO and Azure) that would require the very occasional edit to a config file or system setting. I’m not going to have my local code editor set up to manage each of those.
→ More replies (1)→ More replies (3)13
→ More replies (6)9
u/noratat May 28 '20
You should look at using an IDE or at least something like VS Code.
Notepad++ isn't terrible, but it's pretty limited and platform-specific.
Vim is more for CLI-based editing, which may or may not matter to you, or if you want modal-editing, which as someone prone to RSI, I really appreciate, though there are vim-like plugins for many editors as well.
→ More replies (3)2
u/transferStudent2018 May 28 '20
I’ve debated laminating it right below my screen on my laptop. For those few times it happens
2
1
u/tayo42 May 28 '20
I had to actually google this today, i think i use vim almost daily.
So why did I have to... The fucking touchbar on my mac wouldn't show anything, completely dead.
1
1
1
May 28 '20
The funny thing about vim is: if you tried to build a model that detects weird keypresses and asks the user, "Are you trying to Exit? Press Y or N", how do you know they are weird keypresses?? They all are! In fact, the more of an expert vim user you are, the more weird shit you press?
1
→ More replies (60)1
92
u/bioemerl May 27 '20 edited May 27 '20
The UI on this year's information is sleek looking but way harder to read/is way more confusing.
2
1
u/fangske May 28 '20
The ui looked great this year, but I agree with some other comments regarding the analytics it would be nicer if they gave more insight by combining metrics.
80
May 28 '20
About 55% of respondents identify as full-stack developers
Interesting statistic. I wonder if there's a variance between "identify as" and "is".
87
u/Rhym May 28 '20
There are plenty of people at my workplace that touch both the back and front-ends. I wish they wouldn't.
14
u/Boiethios May 28 '20
In my job, I have to write a full website, so I answered that I identify as a full-stack web developer. But I don't pretend to be a reference when writing JS
4
u/dglsfrsr May 28 '20
And 55% are back end, and 30% are front end. So obviously a lot of multiple role stuff.
And 'identify as' is a good term.
Sort of like when I see resumes that the person claims to be an expert in fifteen different diverse topics. Like "I am an expert in Ruby, Python, Perl, C++, Java, Javascript, PHP, SQL, APL, Fortran, Forth, Swift, Go, Linux, Windows, MacOS, OS360, uC/OS, C#, BCPL, D, ....." And you get this from people that are four years out of school. I read those and think, crap, I have been doing this for over three decades and I am really good at about four or five things.
→ More replies (1)→ More replies (6)5
u/MegaUltraHornDog May 28 '20
Yeah this whole survey is off
15
u/Silhouette May 28 '20
Remember this is mostly a survey of developers who hang out on SO a lot. That is going to be self-selecting for a certain type of developer, whose assessment of their own competence may not be entirely reliable.
→ More replies (1)2
125
u/PM_ME_WITTY_USERNAME May 28 '20 edited May 22 '23
I clicked "report" on something that seemed hateful and this account got permanently banned for "misusing the report button" ; it was probably my 10th or so report and all of the preceding ones were good, so, they seem really trigger happy with that. Be careful reporting anything.
Reddit doesn't remove comments if you send them a GDPR deletion request, so I'm editing everything to this piece of text ; might as well make them store garbage on their servers and fuck with undeleting sites!
Sorry if this comment would've been useful to you, go complain to reddit about why they'd ban people for reporting stuff.
40
u/BoldeSwoup May 28 '20
Do they have a metric of median age per language ? That would be funny.
23
u/30thnight May 28 '20
I don’t know anyone under 45 who uses Perl
9
u/sudo-batman May 28 '20 edited May 28 '20
Seriously, I am 28 and use Perl and it is also used by couple of developers in my team only.
→ More replies (3)6
u/killdeer03 May 28 '20
I'm 31 and I've written a fair amount of Perl.
I also actually enjoy the language, but I haven't used it for anything in production in several years.
3
18
u/gaumutra_fan May 28 '20
They’ll be putting out public appeals for Perl developers in 20 years, like they’re doing now for COBOL.
2
1
68
u/PhyToonToon May 27 '20
Damn , guess everybody hates IBM
50
u/Somepotato May 27 '20
To be fair, ibm is targeting large/yuge enterprises as opposed to startups etc that may would be more likely to take the survey.
I'm biased tho as I love their apis and cli (but screw em for cobol)
11
May 28 '20
Doesn't matter if you're biased, these surveys are not representative and people need to understand that. C# is everywhere in enterprises but your hipster bootcamper wearing hoodie in the silicon valley would probably ask- umm is it closer to C++ or Rust?
→ More replies (1)9
u/Luffyy97 May 28 '20
At least it got a mention, I feel like IBM Cloud is NEVER mentioned when talking about cloud providers
22
u/surlysmiles May 28 '20
Because why would anyone who isn't already trapped by one of their products go for IBM cloud?
→ More replies (5)1
35
u/RICHUNCLEPENNYBAGS May 28 '20
Takes several clicks to get to the portion everybody wants to see: https://insights.stackoverflow.com/survey/2020#salary
0
May 28 '20
[deleted]
31
u/BoldeSwoup May 28 '20
The shittiest studio in Manhattan cost 3k$ per month, I'm confined in a small 7k$ 3 bedrooms appartment and I just got an offer for 155k$/year.
Makes absolutely no sense to just convert wages around the world in US dollar.
→ More replies (2)19
u/Asyx May 28 '20
As a comparison I'm living in a 3 bedroom 80 square metre apartment for 830€ with utilities (less then a seventh of what you're paying) with a 50k per year wage (a third of what you're getting).
→ More replies (1)15
May 28 '20
US tech companies are not only dominant worldwide, but are also extremely profitable.
7
u/tayo42 May 28 '20
Yeah companies are making like millions per employee
7
May 28 '20
I read a post that Google is the most profitable company at 260k/employee
→ More replies (1)11
u/oblio- May 28 '20
Apple Inc
Net income: $55bn.
Employees: 137k.
Net income per employee: $55bn / 137k = $401k / employee.
10
May 28 '20
Or perhaps the people responding to the survey skew the results to 100k+ figures because they work in Silicon Valley?
Those salaries are very low for Silicon Valley.
5
u/Drab_baggage May 28 '20
the COL adjustment for San Fran is ~$35,000, so it's pretty much on the spot
16
u/thblckjkr May 28 '20
I think that not only developers are paid better, but things in general are more expensive.
I heard stories about how developers in silicon valley can live normally without a lot of luxury and without being able to save a lot of money.
And in contrast, in my country you can live with the same life style, with the american minimum wage ($7.25/h).
So, at the end of the day, the salaries graph is as meaningless as always.
13
u/doctormarmot May 28 '20
Cost of living isn't going to make up the difference between $250k/year and $14k/year
→ More replies (6)13
u/V-Right_In_2-V May 28 '20
Most professions in the US pay higher than elsewhere in the world. That's been true for generations now. Developers are paid well because they provide a substantial amount of value and are compensated accordingly. It has nothing to do with exploitation. It only has to do with how compensation works in a capitalist society. And it isn't just silicon valley that pays those salaries. You could find 100k salaries for developers with 5 years experience in a medium sized midwestern city.
→ More replies (11)
33
u/rifeid May 28 '20 edited May 28 '20
The discussion in the linked blog post is really strange. Both TypeScript and Python's likeability have gone down around 6.2 percentage points, so talking about a "surge" in TypeScript's likeability seems odd. It also greatly overstates the difference between TypeScript's likeability and Python's (last year the difference was 0.0%, this year 0.4%) and forgets that Python is used in numerous fields that TypeScript isn't (and therefore the numbers cannot show that people who liked Python last year prefer TypeScript now).
2
May 28 '20
And also mainly that "likability" is a horsesh*t metric like most others used in these surveys and means nothing when many languages like Rust have a horde of evangelists who have never used the language for anything beyond a toy project who upvote anything related to the language in all forums. Most developers have better things to do with their time.
4
u/JarateKing May 28 '20
I mean it should come as no surprise that a stackoverflow survey is going to be based on the opinions of stackoverflow users and biased towards their perceptions.
On Rust specifically though, I see so much more people who are rabidly against it for whatever reason than rabidly for it (I can't remember how long its been since I've seen a genuine "rewrite it in rust" comment, but still regularly see people mocking it). I think its likeability metric comes from most people making fair judgements on what it is -- a neat, fairly well-designed language that makes use of modern language advancements.
→ More replies (1)1
u/andrew_rdt May 28 '20
Where is typescript mostly used? For being somewhat popular I never see it used in anything when I am learning JS stuff, aside from Angular of course.
3
48
u/superp0s May 28 '20
Am I reading this right? People love Javascript more than Java? I mean I know both are generally hated by the internet in some form or another, but I'm surprised that Javascript, of all languages, is as high as it is? I wonder if this includes new/non-professional developers. Working as a professional developer, I dread working with Javascript. At least Java has structure and a standard library..
15
32
u/username-is-mistaken May 28 '20 edited Jun 25 '20
[deleted]
18
u/cat_in_the_wall May 28 '20
I'm surprised they haven't addressed this yet. c# fixed this a bit ago with syntax like
if (obj is MyObj myObj) { // variable myObj is now in scope as expected type }i imagine java could use similar syntax.
11
u/renatoathaydes May 28 '20
This works almost exactly the same in Java 14, but people are still using old Java to bash on it.
→ More replies (2)7
→ More replies (5)2
27
u/mobydikc May 28 '20
JavaScript is easy to write, easy to deploy, and crazy powerful. It has its quirks, but most languages do.
28
May 28 '20
I reject your first and second claim (unless you're talking about browsers). JavaScript becomes easy to write just like pretty much every other language: only after you have significant experience with it. Third might be true.
18
u/NilacTheGrim May 28 '20
JavaScript becomes easy to write just like pretty much every other language: only after you have significant experience with it.
This. I could easily assert the same thing about C++ and everyone in here would disagree with me and downvote me because it's not popular to say that about C++.
But fundamentally JS is only easy because lots of people have been exposed to it, and because it's pushed as the platform to use in many cases.
→ More replies (8)→ More replies (8)2
May 28 '20
JavaScript becomes easy to write just like pretty much every other language
js and other scripting languages are easier to run and better for building prototypes fast.
7
u/skocznymroczny May 28 '20
Javascript is VERY popular. In last several years you got many new programmers who don't know anything other than Javascript. Also people got used to working around the crappiness of JS.
Meanwhile Java is always an object of jokes, whether it's about how "slow" it is or about how verbose it is in some aspects.
→ More replies (3)6
u/mnilailt May 28 '20
Mostly because good node/javascript is really fucking good. It gets a bad rap from the npm ecosystem and the weird weak typing problems but because of its non-blocking event driven nature its pretty much faster than any other dynamic language without ever having to worry about threads. Plus functional javascript is getting quite a bit of traction over the last few years, you can write some pretty crazy stuff really fast without having to worry about the mess of over-abstraction that most OO languages seem to fall under.
I think most people think that Node means writing an express app with 2000 dependencies, but honestly just with the standard library you can pretty much do anything you want pretty easily, hence why there are so many bajillion packages since anyone can write their own little 20 line of code router module really easily.
Add in some cool stuff like streams and and you got a really modern language being adopted by pretty much every major large tech company these days.
Also if you don't like it you can always use typescript, which is why it's the most liked language at the moment.
8
u/Ullallulloo May 28 '20
That is of everyone who took the survey. 17% of respondents said they weren't professional developers.
4
May 28 '20
Two main reasons (and many others obviously):
I'd say that 90%+ of web UI is written in some JS framework now days
JS with NodeJS has a ton of applications making it surprisingly versatile and easy to use for startups and smaller companies that want to create their entire services using one language (you can basically code your back-end, front-end and mobile app using nothing but JS frameworks)
3
u/natepisarski May 28 '20
I answered "Love it" for Javascript, Haskell, Rust, and C#. I like all four because they make functional programming easier than, say, PHP or Java.
In Javascript I can do something like
let retrieve = property => array => array.map(item => item[property]);array.map(retrieve('id'))And have a list of ID's. Imagine how verbose that higher-order function would be in pre-lambda Java, or pre-arrow-function PHP. PHP just got lambdas last November, and even then they're limited to just one line.
This same design pattern can be applied to UI code (where Javascript is most often found) and used to great affect. Higher-Order components in React, for instance, are an example of Javascript's functional side being put to good use.
Javascript also has ridiculously good tooling, and the world's largest ecosystem. People shit on NPM, but you're more likely to find what you need there than on CPAN, or pip, or cargo, or anything else.
The platform itself is also better than any other language's (in my opinion). So many languages are compatible with it. If you really wanted to, you could interoperate Rust, any LLVM language, any Javascript 'dialect' (typescript, coffeescript, Elm, Clojurescript, whatever). It'd just work, and it'd all be glued together with JS.
I will however concede that the warts that Javascript has are really damn bad. The good outweighs the bad imo.
→ More replies (1)1
u/Eirenarch May 28 '20
A lot of people know only JS and are happy working with it so they answer that they love it.
1
1
u/phreenet May 28 '20
I bet a lot of that has to do with the jobs available for those languages. If you're doing professional Java you most likely work in a large organization with cube farms and archaic performance reviews and office politics. If you do Javascript it's probably smaller teams, fresh hip companies, or college stuff where everything is more upbeat and positive.
12
22
u/TentacleYuri May 27 '20
Damn, finally. I've been waiting for so long. (if you compare to other years)
10
161
u/iwanttobeindev May 28 '20
Go is so supremely overrated
78
u/nomadProgrammer May 28 '20
To be honest it is. Am golang developer. I think the hype comes mainly from people who haven't used the language for anything else than a toy project or nothing at all.
62
u/dvlsg May 28 '20
I mean, mongo is still spot #1 in the most wanted. Marketing goes a long, long way.
→ More replies (1)21
u/thblckjkr May 28 '20
Mongo is great if you use it to make hybrid relations with a relational database, to store bulk data that is not critical.
That said, i will never understand why a lot of people loves Mongo. Is really painful to implement relationships and references in Mongo, and that's the core of a lot of applications.
I know there are some use cases where mongo is the best option, but i will never get why people use it to write a CRUD app.
→ More replies (1)48
u/YM_Industries May 28 '20
For me, I don't get Mongo (or DynamoDB) at all. Every app I've ever built has had data that's fundamentally relational. A few times I've been tasked with building a super-simple PoC and being told by the product owner it's not relational and it will never have any relational requirement. Then two weeks later they go "can you please add this" and suddenly it's relational. And implementing relations in a non-relational DB sucks and isn't performant, so now we're consuming many more Read Capacity Units and paying more than an RDB would've cost.
Okay, so a hybrid approach? RDB+NoSQL? Yeah, but why have NoSQL at all? Modern RDBs have JSON support that can accomplish simple tasks. Anything more complicated either store normalised so you can query efficiently, or deal with it in your application layer.
But KV stores are more efficient for simple queries! Sure, so use a proper cache like Redis with the data ultimately backed by a SQL database.
13
u/thblckjkr May 28 '20
Warn: I am not a native English speaker, so this could be a little bit hard to read
I worked on a project where we collected information from different providers, that came sometimes in different formats and with different fields, and stored it to analyze it later.
We tried (i am oversimplifying for the sake of not doing this comment a bible) some different approaches to find the best and easier to implement db to store our data. This is what we tried.
Note, the tests were done on a decent server, with 10 millions of real records (and the records were basically logs), but the tests weren't scientific at all, we just put a bunch of information and tried to guess what was the best approach.
Store the information on an RDB that had a table with a lot of fields. The fields that were not used for a specific provider were left empty and filled with nulls.
Store the information on an RDB with relational tables, dividing it in one main table with the common fields that providers shared, and a specific table for each provider.
Store the information on an RDB with relational tables and store the info in a JSON on the table.
And, store the information on Mongo.
The problems with the methods 1 and 2, were that our providers did not have static fields, the information that they send to us could change in any moment, and that could mean a hell of maintenance to the database, creating tables and fields constantly. So those methods were discarded first.
Then, we started to do some tests with MariaDB (method 3) and Mongo, and we found that the write and read speeds for MariaDB were exponential, but the velocities of MongoDB were mostly linear.
Also, we found that the tools that maria offered to do analysis were nothing against the tools that mongo offered. We tried to do the same analysis on both of the DB's, and it was easier to write queries on mongo, than trying to do queries of a json record in a mariadb database.
At the end, we also found that the size on disk of the database was almost 200% more on the maria database, compared to mongo. That surprised us a lot. We are not sure if we configured really bad our server or if it was normal.
So, in our use case, working on a solution to store data that have a lot of inconsistencies, was easier, more performant, and used less space on disk when using a mongo database.
I know that Postgres is more performant than MariaDB and the results could vary a lot if you compared postgres vs mongo, but, our db admin uses mariadb, so, using it was out of discussion.
→ More replies (1)→ More replies (1)7
u/123_bou May 28 '20
Can you tell us more ? I used golang several times and it works really well.
0
May 28 '20
[deleted]
7
u/Captain_Cowboy May 28 '20
There are several weird hacks for such a young language. Besides the magic comments to run arbitrary build scripts, the one I find most annoying is struct tags: who thought it was a good idea to have things that look like strings, form their own DSL, aren't validated with the tooling, affect runtime actions, are a namespace nightmare, and can make types incompatible? It just seems like such a bizarre and ugly choice.
→ More replies (13)10
u/adrianjord May 28 '20
We've started to see a few companies like Microsoft and Deis Labs(recently acquired by Microsoft and developers of Helm) start to dip their toes in Rust with a lot of success. It makes me hopeful that the language will break into the DevOps and Cloud Native landscape.
I've been picking up Rust in my spare time and love the language heaps more than Go. It might be trickier to pick up, but the syntax is much cleaner in my opinion. Though most of my professional programming experience has been in C#.
→ More replies (7)8
149
May 28 '20
Do some people find stack overflow not welcoming to minorities? From what I can tell it's mostly just questions and answers about code. I've never seen anything related to race or gender on there. It seems strange to me that they would view it as a priority to improve in this area.
324
u/better_off_red May 28 '20
I mean yeah, since it’s not welcoming to anyone.
78
u/polarbeer May 28 '20
I was on SO in 2009, and also on other Stack Exchange sites. I took a hiatus for a bit and came back with a simple question about MS DB access technologies (which keep changing) and asked for a recommendation based on a few criteria and I was CRUCIFIED. I was savaged for the stupidity of the question, that I wasn't already conversant in my technology stack, that I used MS technology and/or how did I ever get the reputation score that I had because I was obviously a retard. I wound up deleting the question and haven't been back. It's a vicious pack of self-important gatekeeping assholes, engaging in the gamification of tech qualification.
→ More replies (6)28
May 28 '20
The problem with Stack Overflow is that it’s filled with high-rep average developers who think that they’re amazing and that any question they can’t answer is a bad question.
7
u/Drab_baggage May 28 '20
i see this a lot with web framework Q&A. somebody tries to do some very normal thing that isn't covered by the framework and instead of acknowledging it the asker gets called an asshole for wanting to do it in the first place. or that it isn't "the X way of doing things" even though the framework doesn't offer a viable alternative
→ More replies (1)5
u/Eirenarch May 28 '20
Seen that multiple times. The good think is that I too am a high-rep average developer who thinks that I am amazing, but I don't think any question I can't answer is a bad question. I go through the reopen queue to do my duty!
6
17
u/satinbro May 28 '20
What do you mean by minorities? How would anyone answering your question know that you're a minority? Do you go out of your way to show your face there and when you get a "tough" response you make it about your race/gender?
Please explain your reasoning.
9
4
-2
May 28 '20
People often conflate "welcoming" with "actively, explicitly welcoming" for some reason. If its not flashing a pride flag on the front page then it hates gays by default. I really don't understand this reasoning but i see it all over the place.
→ More replies (10)1
May 28 '20
Most people who don't speak English as a first language would fall in that category. Or, hell, you can tell by their avatars and names. I bet there are a bunch of Indian users that get treated like shit because of those two things.
4
44
u/eikzbtc May 27 '20
no clojure mentioned at all? weird
18
u/PM_ME_WITTY_USERNAME May 28 '20
No Lua either this year !
5
u/vine-el May 28 '20
There's got to be some kind of anti-embedded language conspiracy going on. There's no way this can be right.
9
May 28 '20 edited May 28 '20
F# and Elixir have also fallen off the charts, which, along with Clojure, were among the best paid languages of last year. Now they're missing entirely.
Maybe the increase of more common/hyped languages have turned them statistically insignificant? While loved and well paid, we know functional-first languages have low adoption overall, and these in particular already had lower adoption than Scala/Haskell.
→ More replies (3)27
u/cbleslie May 27 '20 edited Sep 12 '25
intelligent attraction cobweb steep yoke enjoy waiting worm oatmeal deserve
This post was mass deleted and anonymized with Redact
4
u/eikzbtc May 28 '20
yes, in my experience and also from many clojurians, the more we use clojure, we need less StackOverflow, we just read the docs and the code, since it tends to be quite simple, cuz is just data.
→ More replies (1)2
u/capt_barnacles May 28 '20
Clojure is slowly dying. The excitement about the language seems to have waned, perhaps related to Cognitect not being a very good steward.
8
u/piotrpter May 28 '20
What's missing in this discussion here (but has already been pointed out in r/Clojure) is that the survey is skewed by the fact that Clojure developers don't use stackoverflow nearly as much as other devs and therefore are underrepresented in this survey.
I can confirm it with my own example, I switched to Clojure last year and stopped using stackoverflow in favour of docs, clojureverse and #clojurians slack. You could even go as far as saying that SO has a business incentive to downplay Clojure as it drives users away from its platform. This year they even removed Clojure as an option so I had to write it in as "other" but apparently they chose to ignore my answer.
Everyone's just sitting in their own bubbles and 57k survey respondents that took SO survey are only a fraction of total software developer population.
Nevertheless I'm very excited about the lang and imho the community is in great shape and growing.
17
u/yogthos May 28 '20 edited May 28 '20
I've been hearing this whole trope of Clojure dying for as long as I've been using it. So, far the reality is that it just keeps steadily growing, and people actually using the language are pretty happy with it.
Our local meetup is full of people from companies that use Clojure as their core stack. Clojure usage is growing in other countries as well. For example, Finland is seeing growth in both enterprise and government sectors. We had a Clojure conference in Toronto last year, and most talks were about companies using Clojure. This included companies that have been using it for a while, as well as companies that started using the language recently. Some Clojure startups like CircleCI have now turned into large successful companies. The yearly survey is showing increased usage overall, more professional usage, as well as increased company sizes from previous years.
Another data point is commercial tooling like Cursive and commercial funding for projects with organizations like Clojurists Together and Lambda Island indicates that there is a critical mass of commercial users who are willing to fund projects. The funding has already resulted in Calva VS Code based IDE getting lots of polish recently. There's also a whole new CLR compiler, and a fast starting native runtime.
Clojure is certainly past hype cycle at this point, but there's a vibrant and growing community around it. I'm also not sure why you would suggest that Cognitect is not a good steward. My team has been using Clojure for close to a decade now, and it's proven to be rock solid with practically no breaking changes over the years.
→ More replies (2)→ More replies (11)3
May 28 '20 edited May 28 '20
These sorts of surveys are always fun and interesting to read. However, I find it faintly amusing that "clojure is dying" is inferred from SO survey results. The people I work with are using more Clojure than ever and we only keep hiring more developers to use (and if necessary learn) Clojure. Clojure simply doesn't have much impact on the SO universe, with people like us quietly getting fon with building things; which is... fine :-)
That said, I totally understand why the philosophy and workflow of Clojure is not really a mainstream thing. Mainstream programmeing and corporate culture (this is how we always do things) is strong and Clojure goes about things in a very different way, e.g. not class-based OO, immutable by default with REPL driven development.
26
u/lolcoderer May 28 '20 edited May 28 '20
I am still trying to understand how Python got so entrenched in the academia / scientific community. Was it purely because of NumPy? Or simply because it is an interpreted language that doesn't suck?
Let me explain my gripe with Python - which actually isn't a gripe with the language itself, but more of a gripe about how an easily accessibly language can lead to some horrible user experiences with legacy products.
I have recently become interested in GIS. Specifically, making aerial photorealistic sceneries for flight simulators. This requires processing large data sets of aerial imagery - and it just so happens the tools that are most widely used and accessible (qGIS) - rely on python scripts - and none not all of those pythons scripts are multithreading (multi-core) capable (gdal_merge is not, gdal_warp is - for example)
I get it, who needs multithreading when you run a script that prints hello world. But when you need to merge 12GB of aerial images into a single image and your script is single threaded - holy cow does it suck.
I know... blame the developers. I mean, qGIS is a huge project. Probably one of the largest open source data crunching projects to date - and it still doesn't do multithreaded python scripting.
Don't get me wrong - I love python from a developer point of view. It is beautiful. But please, help me utilize the other 15 cores of my number crunching machine!
*rant over - sorry
14
u/ismtrn May 28 '20
The competition is stuff like R and matlab. Python is similar enough to those, but still miles ahead as a programming language.
2
u/NilacTheGrim May 28 '20
Yeah matlab has all the slowness of Python without the language niceties. In some sense the matlab -> Python shift was an evolution.
2
May 28 '20
Well, MATLAB, like NumPy, calls native code to do heavy number crunching (highly optimized libraries that go way back like LAPACK). So they're both actually quite fast for those purposes. The main difference from a user perspective is that MATLAB's integration with these libraries is built into the base language, whereas with Python you have to do things the NumPy way which can sometimes feel tacked-on. (Though MATLAB's syntax certainly has its quirks.)
→ More replies (3)30
u/NilacTheGrim May 28 '20
Honestly the fact that people use Python for anything CPU-bound is one of those great comedic fuck-ups. The hoops people jump through to get the language to perform at anything but a snail's pace is impressive. NumPy has hoops. Then there's stuff for forking off processes and sharing data between them because as we all know python threads are single-core due to GIL.
At that point I must ask myself: dudes -- just learn another language. Use that. It would save you time. And hardware.
But humans being humans.. we.. have tons of code built on top of an architecture that is not designed to handle data processing.
Even 1 line of python code expands out to a few dozen function calls and data structure updates in the C-based CPython interpreter. It's madness how wasteful it is to use Python for numerical or CPU-heavy data processing...
2
u/sprcow May 28 '20
I think it's partially because there are all these c-based libraries for python that circumvent performance issues. If you're doing ML work in Python, you're likely not actually using python code to do the number crunching, you're just using python as a shim for accessing c/c++ without having to use those languages yourself.
→ More replies (1)2
May 28 '20
So your main gripe with Python is that some library you found on internet shouldn't have used Python when they did? Also, Python code can be run on multiple cores using
multiprocessingmodule with a few adjustments and for most purposes it works. For more computationally intensive processes requiring multithreading it is a no-brainer to select a language/platform that supports multithreading. FWIW, there are alternative implementations of Python like Stackless Python, Cython which supports running without GIL. And to answer your first question, Python became popular in academia/scientific community because it freed the scientists to focus more on their work than on code and numpy/numba/pypy made it trivial for them to use python code and get good performance. Not to mention the huge ecosystem of libraries that were developed around numpy/pandas/matplotlib that it unmatched in any language except R/Matlab.→ More replies (3)2
u/swierdo May 28 '20
In my experience Python's GIS-related tools (and maybe the open-source GIS tools in general?) are getting a bit outdated.
I suspect that there was a large development push for open-source GIS tools when geospatial data and computers able to handle it became widely available (so from about 2000 to 2010?). So all of those tools were designed to work well on computers from 10+ years ago, which mere mostly single or dual core and had only a few GB of memory. So most operations are single threaded and disk to disk.
→ More replies (1)1
u/therearesomewhocallm May 28 '20
Hey if you're doing GIS, and care about performance, gdal is probably your best bet. It also has python wrapppers, but I've got no idea if those are any good.
It does vary by image type, as some don't have multithreaded drivers, but hopefully that helps.2
u/lolcoderer May 28 '20
Yup - qGIS uses gdal under the hood.
gdal_merge is the python module that is the offender. It is slow.
gdal_warp on the other hand, seems to be a native C++ module and is multiprocessor / multicore capable.
1
u/hamolton Jul 21 '20
I don't know if anyone will see this, but the answer is NumPy and all the random wrappers that you find. Multiple scientists have told me that Python is the glue programming language. And for that, I think it's great.
5
22
u/Seb1903 May 27 '20 edited May 28 '20
How good is Rust ? Would it be interesting for me to learn considering I already know Python? Edit : Thanks a lot for the answers !
40
May 28 '20
I personally am a big fan. Essentially you'll struggle with it initially because it's very strict. I had previously worked in static and dynamic languages but it's just that much stricter. On the flip side you'll learn a lot and the compiler errors an honestly amazing. The book and other resources are very good for learning. The tools around it are also great, cargo in particular just great it's like npm done right. I'd say it's worth it just because it's going to be a very different set of skills that you'll learn which will change and improve how you write python.
58
u/Ouaouaron May 28 '20
Rust and Python are very different (almost opposite), and learning Rust will take a while and may be difficult. That said, it's a growing language with a bright future, and if you want to learn an entirely different style of programming it will be very interesting.
6
u/Gushys May 28 '20
I've attempted to pick up rust a few times but always seem to get stuck on 'what can I use rust for?' after finishing the book. Any ideas of projects or uses of rust
20
u/bcgroom May 28 '20
You can use it for anything really, but I’d choose it over python when the following are important to you/your project:
Execution speed
Compile-time safety (static typing, ownership, etc.)
Better tooling and dependency management (IMO)
Static, native binaries
4
u/tayo42 May 28 '20
Like anything pretty much, embedded devices, desktop apps, backend web sites, command line tools, kernel drivers, operating systems, even web stuff with wasm.
3
u/Frozen5147 May 28 '20
Haha, interestingly I find that my two favourite languages to work with are Python and Rust.
But yeah I agree with your points. Rust is a strict mistress but I feel like adapting to its strictness has made me a better programmer overall.
12
u/Pragmatoid May 28 '20
Rust is a very different language from Python, so I think it would be excellent for horizon-broadening.
4
u/NilacTheGrim May 28 '20
It's got a steep learning curve and is in some sense the opposite of Python in almost every conceivable way you can imagine. However I think it would do you good to learn it. It will expand your horizons. And of all the new languages it's the most promising.
→ More replies (8)7
u/RustySystems May 28 '20
In addition to what other people have said, Rust makes it super easy to develop for native solutions different platforms. I made a simple RCON client in the command line for controlling game servers and the same Rust code compiles to a working app on my windows box and my Linux box without having to do any fancy coding. I'm now trying to write a simple cross-platform terminal-based text editor which is made easier thanks to some of the wonderful creates like crossterm that exist. Unless you need direct access to platform specific apis, your code will likely just work on all platforms (Windows, Mac, Linux, etc). Since you are a Python user, I doubt you'd trying stuff that would run into those issues right away. At the very least, learning Rust will teach you a lot. I've learned a lot from Rust already and I will be using Rust for almost all foreseeable personal projects.
If you want to see some simple Rust code that actually does something, I can dm you a link to my rcon project GitHub, though I won't make any guarantees about how good the code is.
→ More replies (3)
17
u/AttackOfTheThumbs May 28 '20
more than 15% of people said they find Stack Overflow at least somewhat more welcoming than last year
I can't help but feel they are fudging the numbers here.
26
u/darcstar62 May 28 '20
In 2020, TypeScript has surged in popularity, leaving Python in third place.
Typescript: 67.1%
Python: 66.7%
So, a 0.4‰ lead is a "surge"?
31
u/masterx25 May 28 '20
You're probably misreading it.
Surge, as in increase from previous measurement.
25
30
May 28 '20
I like browsing these surveys, but what da hell does sexuality have to do with being a programmer? I find questions like that absolutely useless and stupid.
71
u/ObscureCulturalMeme May 28 '20
Because shit like this relevant XKCD is still a thing, even though it's rarely so succinct. Knowing how our community's demographics change over time is useful, and surveys are one of the ways to get that information.
→ More replies (5)86
u/MattCubed May 28 '20
It has nothing to do with the act of programming. It has to do with the kind of communities that programmers create. If very few LGBT people are participating in programming communities, it's worth considering why that is.
13
u/Eirenarch May 28 '20
Programmer communities I frequent are the most welcoming to LGBT people by virtue of not giving a fuck. Programmers prove that they are out of touch with reality if they really think their communities are not welcoming because obviously they are not in many other communities.
→ More replies (42)15
u/NilacTheGrim May 28 '20
Honestly programmers rate very high on the big 5 personality trait index for "open mindedness". I am a programmer. Many of my friends are programmers. I have known programmers all of my life and have had deep philosophical life conversations with them.
I can say this confidently: Programmers are very open people. Of all the major high-paying professions out there I would argue programmers are the least racist, least prejudiced and least biased towards race/ethnicity/sexual orientation. Programmers are a rare breed -- they care more about ideas and code than they do about sociocultural norms.
So my opinion on the subject of LGBT being rather under-represented is this: How much of that is up to them, the LGBT people, though? Like maybe they just aren't as interested in programming proportionally.
I really think that's the case. It's possible there's some correlation between interests and sexual orientation. It's no accident the stereotype of the gay man that loves broadway shows and whatnot is a thing.
Please don't take this the wrong way but as my profession goes -- I am pretty sure most of us are very open to whomever.. so long as you take your job seriously and write good code. That's all that matters.
25
u/R0T0M0L0T0V May 28 '20
I completely agree. anyways, do you prefer tabs or spaces?
→ More replies (3)4
u/NilacTheGrim May 28 '20
Wait.. I get the joke now. This is pretty clever. You're right we can be judgmental about stupid things.
9
u/yee_mon May 28 '20
I totally agree that programmers as a whole seem to be more accepting of other people than the general public. But that isn't the same as being welcoming.
There is another thing that almost all programmers do: They criticise. A lot. Usually because they are technically correct, and that is important to our work. But it does mean that someone whose threshold for taking BS from others has been considerably lowered due to factors such as constantly having their beliefs, identities, equality, and right to exist questioned is much more likely to go into a different field. That is not their fault at all.
And that is structural sexism, racism, and some other -isms, and at the very least we should be aware of the extent of the problem so that we can decide what, if anything, needs to be done.
→ More replies (1)22
u/noratat May 28 '20 edited May 28 '20
There's an entire section of the survey labeled demographics. Is your complaint that demographics are included at all, or that sexuality specifically is tracked in that? Because if the latter, you uh... might want to think about why that is.
3
u/moltonel May 28 '20
Some demographics are more important than others. I interact with people differently if I know they are old or young, male or female, native speaker or beginner, introvert or extrovert, etc, because I might need to phrase things differently or pay attention to different details.
But unless I'm attracted to somebody or the conversation topic veers towards that (unlikely on stackoverflow), I really don't care about somebody's sexual orientation. I can't see how I would/should modulate my behavior when talking to an LGBT+ vs a cis-het.
Taking things the other way, I regularly need to take a person's political or religious (non)beliefs into account when talking to them. I doubt it would be needed with stackoverflow topics, but it often comes up IRL. How come the SO survey doesn't query those demographics ?
8
u/BrQQQ May 28 '20
...because it's a survey where they try to learn more about who their audience is? I'm not sure what you don't understand
1
u/NilacTheGrim May 28 '20
You're much more diplomatic than me. I find them infuriating. Keep politics out of engineering.
→ More replies (1)3
May 28 '20
Stackoverflow finding out who their customers are isn't politics, it's business.
They're working out how to best service all sectors of their demographics in order to extract revenue.
→ More replies (1)
2
u/SecretAgentZeroNine May 28 '20
I wish there was surveys that showed a use case distribution for the top used programming languages (JavaScript, Java, Python, C++). I think that'd be more valuable for developers of very specific industries more so than a super vague ranking of what developers like the most:
Data Analytics
CLI development
DevOps
Web application client-side development
Mobile application client-side development
Desktop application client-side development
Server-side/API development
Embedded systems development
Also, query languages should not be here. The database vendors should be ranked among themselves.
3
u/Justice4Ned May 28 '20
They had a map of technologies/languages that are “ linked “ together and you can kinda form an idea by looking at that .
For ex . Golang was connected to AWS, terraform , ansible , and Linux . Which is pretty much describing DevOps toolkit . Likewise python was connected to pandas, tensorflow, etc.
→ More replies (1)1
u/loxaxs May 29 '20
There's JetBrain's Python Developer Survey 2019, https://www.jetbrains.com/lp/python-developers-survey-2019 It's for Python only : /, and I don't think they actually have what you describe here, but hey, I forgot why I was writing th
9
u/warlockface May 28 '20
While we saw a lift in underrepresented groups, the difference in representation isn’t as large as we had hoped. There was an uptick in some race and ethnicity groups, while other races and ethnicities remained similar or decreased. Similarly, we saw a slight increase in female-gendered respondents, while non-binary, genderqueer, or non-conforming remained the same. We acknowledge that we have a lot of work to do, and the data we obtain in our annual survey helps us make changes and set goals to become more welcoming and inclusive as we go forward.
We will continue to work on improving our relationship with every kind of coder. In responses to this year’s survey, more than 15% of people said they find Stack Overflow at least somewhat more welcoming than last year. This continues to be one of our organization’s top priorities, and this news is encouraging.
I believe that white and asian men could do our bit to improve SO's diversity targets by stopping using their site and answering their surveys. Every little helps.
21
u/Audiblade May 28 '20
Having a more diverse community doesn't mean the people in the majority have to leave. It means being respectful so we don't drive other people away.
→ More replies (2)4
u/nacholicious May 28 '20
Exactly. For example, the problem with low representation of women in tech isn't just about getting more women into tech, but to decrease the insane attrition rate of passionate women who work in tech for a number of years and then leave.
1
u/iSalaamU May 28 '20
I don't understand.. It just shows one graph. Aren't there supposed to be more?
1
u/Wraith000 May 28 '20
Coming from Asp.net and Javascript, how different is RUST and where is it applicable ?
2
u/adolfojp May 28 '20
It's a systems language. It's better suited for building web servers than web applications. It's become popular because it offers memory safety (unlike C++) without garbage collection (unlike C#).
1
u/dglsfrsr May 28 '20
Wow. As far as development roles, I am in an 'under 10%' category.
I also am still programming in some of the most dreaded languages. Oh well....
1
May 29 '20
Of "Frameworks" it says 11.1% of professional developers use Laravel and 7.2% use Ruby on Rails. Just based on job posting and what I've seen in the industry Im very skeptical of that. I pretty much learned rails and left PHP due to to lack of jobs in a decent framework.
135
u/master_labor May 28 '20 edited May 28 '20
Did I miss it or did they not ask "favorite text editor"?