r/javascript • • Jun 08 '20

Why Angular Sucks

https://medium.com/@devinlijkw/why-angular-sucks-c90f4e734231
0 Upvotes

16 comments sorted by

16

u/dawar_94 Jun 08 '20 edited Jun 08 '20

A collection of meaningless and unsubstantial statements that have absolutely nothing to do with whether or not Angular is a productive framework.

  1. It's named Angular — Really? The "name" of the framework is an issue? It's such a big issue for you that 20% of all the reasons why angular sucks is the name? Yikes. Wouldn't have assumed that in a disciple entirely built on abstractions for problem solving that something as "variable" as the name for a framework would be such a critical issue.

  2. Toxic environment in the Angular team — This has absolutely ZERO impact on the quality of the product. The work environment of the team and the usefulness of the product are 2 entirely different problems to tackle.

  3. Too much BOILERPLATE — Angular CLI? Good workflow and coding practises? If you can't manage basic boilerplate how could you ever build cohesive scalable systems?

  4. Keeping Up — Angular updates for YEARS have been MINOR and the coding philosophy has barely changed since 2.0.

  5. Too complicated — Highly subjective, adds NOTHING to your argument about "Why Angular Sucks" I've been meaning to learn React for years but can't seem to do it. Not because I don't get Javascript or am missing some crucial knowledge or because the learning curve is different. It's just I invested more time in one framework vs. the other, that's the only difference, not the "learning curve".

7

u/themosteacup Jun 08 '20

Ah, another one of those people who haven’t tried other frameworks, thus defend the only one they know despite all its weaknesses. This is called Sunk Cost Fallacy. You’ve already spent all this time/effort learning a framework, so you refuse to give up on it.

Try out React/VueJS then get back to me.

  1. Like I said, the name affect developer productivity by wasting our time filtering out unrelated posts. Your argument is basically “Yikes you don’t like the name?” without providing anything to back it up. Plus, this isn’t 20% of the reasons why Angular sucks. I didn’t want to repeat the reasons here https://medium.com/dirtyjs/why-angular-2-4-5-6-sucks-afb36567ad68

  2. Toxic environment affects the community. Why would developers offer up their own time and resources to create meaningful PRs if their suggestions are going out the window.

  3. React can do the same thing as Angular with way less boilerplate AND build cohesive scalable systems. Are you telling me all the Facebook, Instagram, WhatsApp aren’t scalable systems?

  4. I personally went through the hell of upgrading Angular for a large enterprise app, so don’t tell me they’re MINOR upgrades.

  5. Like I said, complicated in exchange for something. For example, C++ is complicated, but it offers vastly greater performance. Angular is complicated, but offers a similar performance to React.

10

u/nardogallardo Jun 08 '20

In our field, there is the f**ing culture that we have to have a lot of repositories on github and a lot articles on medium to tell our experiences that shit like this is produced.

4

u/brainless_badger Jun 08 '20

While I agree in general that this article is not worth much, amount of boilerplate is most definitely a valid concern when it comes to Angular. Sure, CLI helps, but only so much, and it's not like other frameworks have no tooling to help with their boilerplate either.

Ultimately less boilerplate is always a pro.

And boiler plate in Angular is not really "basic", there is a ton of it.

As the article shows, React did better on this field even pre-hooks, with hooks it does way better, but something like Svelte easily does even better then that.

2

u/Ok-Theme9171 Oct 22 '21
  1. It's named Angular and its a departure from AngularJS. It's not just an upgrade but a whole sea change. If you gonna drop AngularJS, just say it. Angular2 is basically KotlinJS so why not call it that.

  2. Toxic environment. All developers hate that. The example he gave was TOXIC community. You dont want that when you learning someone else's framework. it's offuputting.

  3. Too much boilerplate. You know what's scalable? Readable code. Not hierachal injector trees determining what can or cannot be shared.

Ive coded Angular2 for two years now and I can definitely tell you that Angular2 is super complicated. My current job is React and its much easier to do the same things. Nativescript , Ionic, Cordova? Mobile IOS and Android should be top priority but its not. What ppl want is fast way to transport their Angular2 skills to mobile. They also want an Expo like experience so x-platform aint a pain. Where's Angular Native?
NativeScript is not fun to use.

Angular upgrades are not minor upgrades. Can't do functional programming. MVP pattern is super verbose and a bit difficult to implement in angular.
Three files per component. Almost unreadable code in the angular repositories. I can see myself contributing to React in couplah months. Angular? Not so much.
https://use-react-in-angular-v1.stackblitz.io/graph/tracks
granted it is infinitely easier to mount react to angular than the other way around but its also easier to mount webcomponents to react.

The cli is nice and all but why not leave that to nx narwhal and focus on angular Native / expo. Angular Studio would be nice. I'm really invested in Angular but there are a lot of problems that the Angular team isn't interested in. All they really talk about is the compiler. ngprofiler is sweet though.

https://christiankohler.net/reactive-angular-with-ngrx-component
Zones are great until their not.
Performance issssueees when you push the envelope in just the tiniest way. Customizing the CD strat would be nice without having to resort to ngZone markdirty kungfu.
They dont have to imitate react but they should be able to add competitor features. Or even address them.
At the end of the day, has Google been the best steward of Angular2? I can't really say they have.

0

u/[deleted] Jun 08 '20

[deleted]

4

u/brainless_badger Jun 08 '20

React hooks is spaghetti hell. React code base is hard to support.

Talk about "meaningless and unsubstantial statements".

→ More replies (1)

5

u/keybrian Jun 08 '20

This article isn't really going to do anything besides be divisive. Are you just venting with this article? If anyone wants to have a better idea on how people perceive front end frameworks, I suggest looking at these surveys:

https://2019.stateofjs.com/front-end-frameworks/

https://insights.stackoverflow.com/survey/2020#technology-most-loved-dreaded-and-wanted-web-frameworks-dreaded2

6

u/[deleted] Jun 08 '20

Charts from your links prove OPs point. Angular is most dreaded framework.

2

u/toi80QC Jun 08 '20

Why clickbait titles suck.

2

u/badkitteh Jun 08 '20

this post sucks

2

u/Neu_Ron Jun 08 '20

Angular is a great framework. It does take time learning though.

→ More replies (1)

1

u/EllPoloLoco Jun 08 '20

Angular is the real deal.. END OF DISCUSSION..!!!

1

u/Mavikick Feb 06 '24

anglular is a moronic fekking shitshow arghhh whoever codes in anglular is wasted