Live data from Hacker News

State of JavaScript 2021

2021.stateofjs.com

221–230 of 245 posts

Re: State of JavaScript 2021

#221
post #12

The satisfaction vs usage of angular is astonishing, but I wonder how much of that usage is legacy angular? One way to read the graph would be that there's a lot of angular just quietly getting on with the job and it's a solid choice, but another would be that there's a large amount of legacy angular out there that people aren't very happy with.

I think that there is a lot of bubble bias: React is used in many 1 person projects as well as in small dev teams projects. I would not advise to use Angular in this context, if you are not fluent in Angular. However Angular in my opinion totally outshines React in setups with many teams. It is comparable to C (React) vs. Java/Swift (Angular). Angular enforces a certain programming style, while React gives you a lot…

Did you mean C++ in your second paragraph?

Re: State of JavaScript 2021

#222

Interesting tidbits: Most Adopted Features: Nullish Coalescing, Optional Chaining, Private Fields Highest Satisfaction (backend frameworks): SvelteKit, Astro, Fastify Highest Satisfaction (frontend frameworks): Solid, Svelte, React Highest Satisfaction (mobile & desktop apps): Tauri, Capacitor, Electron Highest Satisfaction (build tools): Vite, esbuild, SWC Highest Satisfaction (monorepo): pnpm, Turborepo, Mx

I use optional chaining so much I forgot it was, like, a "feature" that was added semi-recently

Re: State of JavaScript 2021

#223

Earlier quoted context omitted.

I almost spit out my coffee. I had completely forgotten that's how we got here. It developed like pretty much everyone thought it would.

Is it that bad? I'm kinda new to web development.

Bad? I don't think I'd use that term. Fragmented? Full of "bike-shedding"? Fanboi-ism? Definitely those things apply. There are some tools that seem to dominate the market currently. And as often is the case, you may form a love/hate relationship with them. Web dev in 2008 was simple. You had your markup, your CSS, and your scripts that progressively enhanced that markup/styling. There are subsets of people that never wanted it to move beyond that. There's another subset that's been pushing the boundaries of what the web can do. Both are right, and both could stand to learn a few things.

If you find yourself working alone/contracting, you have absolute freedom to try out anything you want. Find what works for you. Do NOT use something simply because "the cool kids on Twitter are hyping it". Find out if those tools actually make your dev experience, and your user's experience better.

If you find yourself on a team at a larger org, learn to be comfortable with the tools they've chosen - until you reach a point where you get to have a say.

Web development can be an awfully fun career but I'd urge you as you get a bit deeper into the programming side of it, to really learn some fundamental concepts. Maybe start with Jack Herrington videos on Youtube: https://www.youtube.com/c/JackHerrington

I've found him to be very level-headed in his approach.

Re: State of JavaScript 2021

#224
post #183
post #168

There seems to be a bit of animosity towards front-end development based on the comments. Particularly due to the constant change of the environment and what's perceived as the best option. But, there haven't been calls for solutions. There's points to backend technologies not changing much. My thoughts are because the backend just doesn't matter as much. Backends are mostly I/O streams placed and interacted with on…

>"There seems to be a bit of animosity towards front-end development" On desktop we have nice mature solutions that are powerful and easy to use. Comparatively browser based front ends are a never ending mess in a state of constant swings.

I think that's a matter of perspective. Front-end development tools are more diverse because there are more devs working in that sector and there are more diverse needs.

If you look at Windows platform there's Win32, WFP, UWP, etc. On Linux there are Qt, Tk, GTK, and more. Some old, some buggy, some ugly. It's the same thing.

Rose tinted glasses you're wearing.

Re: State of JavaScript 2021

#225
post #183

Earlier quoted context omitted.

>"There seems to be a bit of animosity towards front-end development" On desktop we have nice mature solutions that are powerful and easy to use. Comparatively browser based front ends are a never ending mess in a state of constant swings.

I think that's a matter of perspective. Front-end development tools are more diverse because there are more devs working in that sector and there are more diverse needs. If you look at Windows platform there's Win32, WFP, UWP, etc. On Linux there are Qt, Tk, GTK, and more. Some old, some buggy, some ugly. It's the same thing. Rose tinted glasses you're wearing.

Win32 / UWP are not front end tools. I use Delphi for Desktop works like a charm and been available forever. So my glasses are fine.

Re: State of JavaScript 2021

#226
Much of this discussion is about frameworks, technology and trends in JavaScript as a language.

However, I personally find it shocking to see such a huge disparity when reviewing the gender breakdown between male, female and non-binary https://2021.stateofjs.com/en-US/demographics/#gender.

Simply put, the JavaScript community is still not doing a good job when it comes to inclusivity. That needs to change.

Re: State of JavaScript 2021

#227
post #225

Earlier quoted context omitted.

I think that's a matter of perspective. Front-end development tools are more diverse because there are more devs working in that sector and there are more diverse needs. If you look at Windows platform there's Win32, WFP, UWP, etc. On Linux there are Qt, Tk, GTK, and more. Some old, some buggy, some ugly. It's the same thing. Rose tinted glasses you're wearing.

Win32 / UWP are not front end tools. I use Delphi for Desktop works like a charm and been available forever. So my glasses are fine.

Win UI / XAML / DirectX UI and whatever other Windows toolkits available.

Sure you're in that Delphi niche and you feel comfortable there.

Re: State of JavaScript 2021

#228
post #225

Earlier quoted context omitted.

Win32 / UWP are not front end tools. I use Delphi for Desktop works like a charm and been available forever. So my glasses are fine.

Win UI / XAML / DirectX UI and whatever other Windows toolkits available. Sure you're in that Delphi niche and you feel comfortable there.

I am not in the niche. I do all kind of development with multiple languages and tools. But I am trying to choose tools that work for me, not the other way around. For Windows desktop Delphi is unmatched in my opinion.

Re: State of JavaScript 2021

#229
post #22

I read this report every year. This year it feels the most like it's driven by hype (and marketing, hi Vercel!). In my professional and personal experience, react has never been better to use (in terms of features, DX, maturity, community, productivity), yet if you look at the "popularity" (oh dear) graph, it's basically just describing how older tech slides down while newer shiny tech comes in and is instantly the m…

Hey guys, undergraduate here. After reading this thread, I doubt myself about my current studying. I'm a CS student. Normally, I'd be graduated and will be on my way into IT industry as an intern right now. But a lot of things happened in my country, Myanmar. I'm now self studying various things like react, django. My question is am I doing right thing learning those shiney tech, or which ones am I supposed to be doing for? What skills would you expect from people like me? Graduating will not be happening so soon with the country's situation right now. Originally, I'm thinking to post on ask hn but anyway.

Re: State of JavaScript 2021

#230
post #22

I read this report every year. This year it feels the most like it's driven by hype (and marketing, hi Vercel!). In my professional and personal experience, react has never been better to use (in terms of features, DX, maturity, community, productivity), yet if you look at the "popularity" (oh dear) graph, it's basically just describing how older tech slides down while newer shiny tech comes in and is instantly the m…

Hey guys, undergraduate here. After reading this thread, I doubt myself about my current studying. I'm a CS student. Normally, I'd be graduated and will be on my way into IT industry as an intern right now. But a lot of things happened in my country, Myanmar. I'm now self studying various things like react, django. My question is am I doing right thing learning those shiney tech, or which ones am I supposed to be doi…

Django and react are not what I would call "shiny tech" these days. React is a mature and widely used technology now. You are investing in learning solid technologies there.

Once you have a solid grounding in React, I would highly recommend picking up some TypeScript and node.js. Those three go together a lot, at least where I live (Netherlands). If you know all three, there are tons of opportunities for both permanent and freelance positions.

Post reply on HN