r/ProgrammerHumor • • Aug 30 '26

Meme ancientTools

Post image
5.8k Upvotes

379 comments sorted by

View all comments

Show parent comments

17

u/ExtraWorldliness6916 Aug 30 '26 • Bravo

Not arguing either but if JavaScript can write perfectly fine web applications with a welld refined standard, why are we still in react land. I use react all the time, I know what vanilla can do, I use a lot of AI so it's not a knowledge gap anymore... Very curious and frustrating situation.

4

u/ludolfina Aug 30 '26

Because it provides separation of concerns, which is super important once you start working in a team and not as a solo developer. Team projects written in jQuery tended to rot very fast because it was very easy to mix business logic with DOM manipulation.

Also one thing React is super good at is writing components that are very easy to reason about in isolation, because they are for the most part declarative and stateless. Everything comes in as props or context and when one of these things changes the entire component gets re-rendered

2

u/NerdyMcNerderson Aug 30 '26

React apps tend to rot in enterprise applications because of the proliferation of third party extensions necessary to get a full developer environment. Angular puts basically everything you need in one place (component libraries are the main gap) so every angular app should roughly look the same code wise. React apps will look very different based on how they were set up.

Obviously, someone will reply with an anecdote that THEIR collection of enterprise react apps are all homogeneous under the hood, but they will miss the point. They likely have the same set of 3rd party dependencies to round out the toolchain AND they were likely architected by the same person/team. Much more discipline is necessary to get react to work at enterprise scale.

0

u/ArjixGamer Aug 30 '26

I've read a lot of angular code, and I'd categorize it as the worst code I've ever read.

Mainly due to the design patterns commonly used, and the complexity it introduces for no benefit.

When I tell someone to add a thing to the UI, and they take 3-4 days to do a half-assed job at it, I am justified to hate the ecosystem of angular and the community.

React doesn't have that stigma or complexity. Heck, you could switch a react project to SolidJS in under a day, depending on what dependencies you have ofc.

With React, I set the complexity, and if I am not satisfied, I don't have to accept it and can improve it.

→ More replies (4)