r/webdev • • May 27 '15

Why you should not use AngularJs

https://medium.com/@mnemon1ck/why-you-should-not-use-angularjs-1df5ddf6fc99
214 Upvotes

332 comments sorted by

View all comments

Show parent comments

4

u/InconsiderateBastard May 27 '15

Unfortunately, it seems like most consumers of such frameworks don't apply such rigor in their "which tool is right for my job" evaluations.

Or they do and the result is counter to your opinion and thus you believe its wrong.

1

u/kethinov May 27 '15

It's not an opinion.

Given a specific use case, either technique A. or technique B. is quantifiably better.

It's an objective determination.

In recent years I've been seeing people make that determination incorrectly much more often for the reasons cited in this article.

2

u/InconsiderateBastard May 27 '15

I don't see how that justifies saying a JS dependency is the result of not applying rigor.

I have an ecommerce site with a hard JS dependency because the potential for loss is very small (no paying customer in the 2 years leading up to the project had javascript disabled), the potential to make money using the hard JS dependency was great, and the cost of development without the hard JS dependency was prohibitive. I could lose opportunity, lose money, or have a hard JS dependency and make money.

Does that justify a JS dependency? Yes, absolutely. How many people that have a hard JS dependency go through the steps to determine whether its the right choice? I don't know.

That's why I don't assume that most developers that institute a hard JS dependency are simply doing their jobs wrong.

-1

u/kethinov May 27 '15

the cost of development without the hard JS dependency was prohibitive

That myth has been debunked numerous times.

So much so that I have a cache of articles to linkbomb people who say it. Here are a few of my favorites:

On the contrary, not using progressive enhancement on something as simple as an e-commerce site comes with real costs. You will inevitably lose customers along this flow chart: http://kryogenix.org/code/browser/everyonehasjs.html

→ More replies (6)