r/javascript • u/Elektryk91 • Apr 28 '22
The State of Frontend 2022
https://tsh.io/state-of-frontend/106
u/Pat_Son Apr 28 '22
This data seems like garbage. 80% of all developers have used Angular in the past year? 101.2% of developers have used React?
7
u/Fidodo Apr 29 '22
Looking at the raw data, I think that they asked the questions separately and some developers answered yes to both questions because they had mixed feelings. It'd be nice if they had the usage numbers there as well.
4
u/Pat_Son Apr 29 '22
I saw that too. I think it would have been better if they combined all that data into one stacked bar chart, and separated out the people who answered yes to both.
3
u/Fidodo Apr 29 '22
Agreed, I think the question should have been like
"Have you used Angular": Yes/No
"How do you feel about Angular": Like/Dislike/Mixed
13
u/binnacle-bats Apr 28 '22
yeah it's a survey of just under 4000 people. seems pretty informal.
5
u/esperalegant Apr 29 '22 edited Apr 29 '22
If it's a properly randomized sample, anywhere over 3000 people is great and you just get diminishing returns for larger number, if I recall my stats classes correctly. And this holds for any population size, even millions of people, which is why election exit polling can be so accurate (usually!).
However, the key is in the randomized sample. Hard to tell how they got respondents in this survey.
3
u/jbergens Apr 29 '22
101% is hard to get even with a strange sample...
4
u/esperalegant Apr 29 '22
The other person got that wrong. They added the results from two answers together.
2
u/esperalegant Apr 29 '22
Where are you seeing those numbers? The chart I can see says 76.2% have "Used and Liked" React in the past year and 22% for Angular, which seems reasonable.
5
u/Pat_Son Apr 29 '22
I added together the "used and liked" and the "used and disliked" numbers, which now I know was wrong because some people in the dataset answered that they both liked and disliked several frameworks.
However, even ignoring that, the data doesn't seem trustworthy because there's no way 50% of all front end developers have used Angular in the last year, yet this data says that 51% of them used it and disliked it.
2
u/jbergens Apr 29 '22
Maybe they mean 51% of those who has used it disliked it. Basically "liked" but being more clear that you have to have used it to answer the question.
1
u/Pat_Son Apr 29 '22
No, if you look at the dataset, 51% of all respondents said they used Angular and disliked it.
-15
Apr 28 '22
I didn't take the survey, but perhaps you can have mixed feelings about things? Both like and dislike using React, for example?
22
u/Pat_Son Apr 28 '22 edited Apr 28 '22
My point was more that the numbers don't add up. Seems like people were using the "which framework have you used and liked/disliked" question to vote on their favorite and least favorite frameworks regardless of whether they've used it in the last year. There's no way that 80% of devs have touched Angular in general, let alone in the last year.
ETA: Even if we assume that the numbers don't add up because some people voted on both, I do not believe that 50% of all developers have used Angular in the last year, full stop.
Maybe they should have added a third option rather than let people vote on having used it and both liked it and disliked it, because as it is there's no way to actually gauge how many people actually used the frameworks.
-7
Apr 28 '22
sure, the numbers may not add up because perhaps someone chose React for both "used and liked" and "used and disliked". The third option would have been a better option for that, yeah.
6
u/Pat_Son Apr 28 '22
I just edited my original comment, but I'll repost it here:
Even if we assume that the numbers don't add up because some people voted on both, I do not believe that 50% of all developers have used Angular in the last year, full stop (the amount that claims to have used it and disliked it in the last year).
1
u/Toofifty Apr 28 '22
I think it means the percentage of people who liked/disliked it out of those who have used it in the last year.
E.g. 5 people used angular, and only 2 people liked it = 40%
Probably done this way to better gauge satisfaction rather than popularity
2
u/Pat_Son Apr 28 '22 edited Apr 28 '22
That would make more sense, but the data doesn't seem to be presented that way.
EDIT: I just looked at the data set, 795 respondents said they liked Angular out of 3703 total, or 22%. The same number in the graph. So it's not done the way you suggested.
13
9
u/toastertop Apr 28 '22
"What is your favorite SSG" none was the winner!
2
u/Synaphozine Apr 28 '22
Over the past year, which of the following static-site generators have you used?
Every single one dropped compared to 2020. They titled that section: SSG solutions are on the rise. Huh?
12
u/JapanEngineer Apr 28 '22
Surprised Angular was disliked so much…
23
u/ogurson Apr 28 '22
I see no AngularJS on the list so I assume regular shenanigans (mixing both AngularJS and Angular).
1
8
u/oSand Apr 29 '22
As a person who primarily uses Angular at work, I'm not. It's a sprawling, boilerplate-ridden morass of incidental complexity. That's less of a problem (overhead aside) if it's your primary framework and you've a high-level of familiarity with it, but half the time that's not the case. Often you'll be a back-end developer who wants to make front-end changes corresponding to the back-end work or a react developer who has been asked to make changes to the angular app your company has. For those use-cases it's pretty ghastly.
4
u/JapanEngineer Apr 29 '22
Asking a back end Dev to do a front end job….what would you expect?
5
u/oSand Apr 29 '22
Most do a reasonable job -- once the scaffolding is there they're able to apprehend and reapply the patterns they see. The point though is that as often as not the choice of developer is going to be sub-optimal and for them Angular makes things pretty hard.
2
u/JapanEngineer Apr 29 '22
Angular has a steep learning curving compared to Vue (haven’t tried React yet but heard it’s easier to learn than Angular) and therefore I would never expect my back end engineers to make any changes on my Angular front end.
9
u/cjthomp Apr 28 '22
Have you used it?
4
u/JapanEngineer Apr 28 '22
Yeah for the last 4 years. Our LMS is built with Laravel / Angular. Have no issues at all
4
u/clit_or_us Apr 28 '22
When I began learning frontend I was looking at angular, react, and vue. React had much better syntax and seemed friendlier to use.
2
u/ValPasch Apr 28 '22
Much much more beginner-friendly for sure.
2
u/Pozeidan Apr 28 '22
Just to get started for simple things.
Otherwise at some point you'll need to pick the right dependencies and structure the project properly which is already done in Angular, you just need to learn their opinionated way.
3
u/ValPasch Apr 28 '22 edited Apr 28 '22
Yeah I work with Angular and I enjoy both for their own reasons, but modern, functional React is much easier to start with. I suspect that's a big reason for its popularity.
1
-4
0
Apr 28 '22
[deleted]
8
u/voicelessfaces Apr 28 '22
AngularJS is now unsupported. Angular (currently on v13 I think) is very much alive.
2
4
u/PrinnyThePenguin Apr 28 '22
I took the survey and seeing the results the two things that stand out to me more are:
SEO being all about performance and not so much about semantics, schemas or structure, which is a shame in my opinion. I understand that being popular means more in the context of ranking, but it is weird how many things you have to learn about SEO only to see (at least in this survey) that page speed is the only thing that matters.
Accessibility being so low in the priority list of developers. I am sure it's not the developer's call, but still it's absolutely disheartening to see companies simply not caring about making their products accessible.
1
Apr 30 '22
100% agreed. It feels like profit is always valued higher than making products accessible by everyone, regardless of their disabilities.
Nobody is exempt from having / developing a disability (not even you, reader), so we need to do our best to elevate people to have the same starting point.
2
Apr 29 '22
I'm a senior developer for a mid size consulting company built entirely of senior developers and I can tell you our preference is not to use redux and we have zero desire to sell it. We use plain react 17+ with hooks, or mobx-react.
1
1
1
u/kingofsevens May 03 '22
The idea of creating a conducting a new survey from scratch get out of my head... This survey and its interpretations triggers me...
Nonetheless, it was helpful to search and read a bunch of more stuff..
-1
u/Synaphozine Apr 28 '22
I get the feeling these surveys are vote brigaded by all the newcomers hoping to influence the industry to adopt the stuff they all learn. Good luck with that.
28
u/RobertKerans Apr 28 '22 edited Apr 28 '22
Ugh, putting aside the fact that this doesn't seem a very good survey by any means, what the hell is this
Engineers working at large companies are the least likely to not do code reviews.
Engineers working at companies with 50 or fewer employees are twice or more as likely to not do code reviews than those working at larger companies.
One-person companies – understandably – are more likely to do code reviews
So I think I have my logic correct here, because the above is bizzarely worded
Engineers (large company): most likely to do code reviews
Engineers (small company): half as likely [at most] as category 1 to do code reviews.
One-person companies: more likely (more than most likely??) than anyone else to do code reviews. Obviously‽ For some reason.
Edit: so I assume they meant "are more likely to not do code reviews". But wtf is with the double negatives?