News for hackers. Stuff that matters.
Re:Why Learning Angular 2 Was Excruciating by untog on Monday September 19, 2016 @06:09PM (#12535177)
jQuery isn't dead - they're still releasing new versions. You can still do everything you used to be able to. But now you can also do more - you can sensibly modularise your code. Virtual DOMs bring huge performance boosts with very little work.

IMO, the JavaScript ecosystem has matured. Sometimes in weird ways that aren't great, but it's still better to have an irritating package manager than no package manager at all. But there's no price to be paid here - if you don't want to use any of it, you don't have to.

Re:Why Learning Angular 2 Was Excruciating by Zelphyr on Monday September 19, 2016 @06:14PM (#12535221)
The problem is, it has become popular in our industry to equate new with "quality". So, while you're correct that jQuery isn't dead and in fact is more mature, there are too many who won't use it almost because its mature. Its not the new shiny that it once was. But frameworks like React and Angular are very shiny. Even though, in my opinion, they're quite simply a mess.
Re:Why Learning Angular 2 Was Excruciating by untog on Monday September 19, 2016 @06:16PM (#12535227)
I think there is an element of people using things because they are new and shiny, yes. But plenty of people use React and Angular over jQuery because they make 1000x more sense when putting together a large web application with multiple developers contributing to the codebase.
Re:Why Learning Angular 2 Was Excruciating by janfoeh on Monday September 19, 2016 @06:36PM (#12535344)
Sure, for larger projects a good, well-thought out and consistent framework is a godsend. No doubt about it that plenty of people make very good use of the frameworks and libraries at our disposal.

But on the other hand I cannot count the number of times I've seen Angular included for a simple contact form with validation on a static site, React to render a single trivial dynamic list or a nice, but basic JS lib that only works in module form via NPM exports.

Sorry if I sound like a fortune cookie, but it's true - if all you've got is a hammer, everything looks like a nail.

Since 2001 or so, I can count on three fingers the number of variable collisions I have experienced in small- to medium scale projects. That I as a newbie now have to understand and manage various module systems in order to embed a lightbox on my site is a huge jump in complexity for a gain that is at best negligible in practice.

And while you and I probably have worked on some higher-complexity use cases, I think we would be kidding ourselves if we assumed that this constitutes the majority of the web.

Because that's not Facebook-scale, it's the dude around your corner selling dishwashers and reparing washing machines, trying to get his inventories's prices from an Excel sheet onto his page with a minimum of fuzz.

Re:Why Learning Angular 2 Was Excruciating by stephenhuey on Monday September 19, 2016 @08:13PM (#12535871)
And the number of Aurelia users is rapidly rising not only because it's new and shiny and easier to build complex web apps, but also because it's more natural and standards-compliant than frameworks such as Angular. A natural reaction to seeing what's missing or going down the wrong path (as in the case of Angular 2).
Re:Why Learning Angular 2 Was Excruciating by tim333 on Tuesday September 20, 2016 @01:32PM (#12541326)
>Virtual DOMs bring huge performance boosts with very little work.

Do they? In most tests I've seen straight javascript / jquery on the DOM is faster. eg. https://objectpartners.com/2015/11/19/comparing-react-js-per...

Re:Why Learning Angular 2 Was Excruciating by flukus on Monday September 19, 2016 @07:52PM (#12535743)
It's also a lot less necessary than it was because browser compatibility has improved. Last time I did a mobile web app I seriously considered removing it because it was heavyweight and I was only using a few functions. I didn't, due to time constraints, but I could have.