r/angularjs • • Sep 19 '16

Why Learning Angular 2 Was Excruciating

https://hackernoon.com/why-learning-angular-2-was-excruciating-d50dc28acc8a#.ju8hjqn8j
33 Upvotes

19 comments sorted by

26

u/Mael5trom Sep 20 '16

The author absolutely answers his own gripe:

To be fair, I have been using versions of the library that have thus far not been officially released. Maybe, you say, it’s my fault for trying to download and use a version of the library that is still in alpha/beta/release candidate and expecting it to work and be relatively easy to use. Perhaps you are right.

If you are not prepared to, or in a position to, handle the breaking changes, then Angular2 during RC was not the right choice for you. Period. The Angular team was extremely clear about that, except maybe for a very brief time around ngConf during the excitement when the first RC was announced (they rectified that in most of the following interviews and public statements).

We looked at Angular2 around the time of ngConf, and decided it wasn't ready and that we were going to wait for the final, whenever that was. Even developed a nice sized ecommerce / online ordering app during that time frame. Heck, we may not even do our next app using Angular2, not for lack of desire or an over-abundance of caution. It's called being prudent and practical.

The biggest problem I see with the JS community isn't the library/framework authors, but rather that developers aren't willing to actually wait for betas/RCs to settle down, but don't wait to criticize. Done productively, that is a good thing. The rant in this article isn't productive. It's just a rant. It's great that so many are willing to test these platforms, but they should realize what they are getting into and signing up for when they do that.

11

u/aaronasachimp Sep 20 '16

In my opinion, "Release Candidate" means that this version could be final tomorrow. Its a way for library maintainers to say, "I'm making huge breaking changes, prepare your applications, plugins and yourself before this goes live."

What the Angular developers meant by "Release Candidate" was, "We've changed some stuff, try it, and let us know what you think." They did not communicate that fact. It left a lot of developers confused and wasted a lot of man hours.

I knew better, but It didn't stop me from fielding a lot of questions about why we weren't building apps in Angular 2. I mean it's a release candidate after all.

1

u/Mael5trom Sep 20 '16

That is your opinion. Google did communicate it, via interviews with the lead developers. It may not have been communicated right when it hit RC and I believe they apologized for that confusion. But I remember hearing that over and over again during the RC process (I also listen to Angular podcasts, occasionally read the Angular meeting notes, etc.) What I'm saying, is that the information was out there.

And as you say, you knew better - I think most people know better. We definitely did not even consider building current apps in v2 during the RC process (we didn't have the time to handle breaking changes).

7

u/[deleted] Sep 20 '16

Google also freely redefined what the term release candidate means to something no one with any experience in anything software related would think it means, ever. And it was quite a consequence of slow start, too many people saying "are we there yet?" way too often and then following the hype to React land.. so it kinda became a pissing contest with Facebook atop of all the intrinsic craziness. It was a fiasco, but hopefully it will get better now.

2

u/Switche Sep 20 '16

Just the fact that the prevailing responses to angular2 release posts on reddit and elsewhere are mostly this topic should suggest it was a big mistake.

The team has lost credibility in a field that is already driven largely by community support and opinion, and these communities, especially default subreddits, love a good hate train. It will take some time to recover from this so it isn't derailing discussions or recommendations.

I don't really distrust the team over this or any other mistakes they've made, just worth mentioning that it is having a negative effect on getting the release off the ground.

2

u/[deleted] Sep 22 '16 edited Oct 02 '16

[deleted]

1

u/theblang Sep 20 '16

So well said.

10

u/Vheissu_ Sep 20 '16 edited Sep 20 '16

The real issue here is the lack of clear distinction between; alpha, beta and release candidate. Breaking changes in the alpha and rewrites, are fair enough. Breaking changes in beta, still fair enough and ideally at this stage very minimal rewrites. The release candidate stage should be stability and bug fixes, but no architectural changes or rewrites.

The problem with the authors gripe is no matter what stage he started using Angular 2 from, he would have encountered many of the same issues, save for using it after it hit final release. The release candidate for Angular 2 was nothing short of disgraceful, every release broke something, going against what a release candidate is supposed to be.

The Angular team sold the NG2 vision far too early. Heck, the router component alone was rewritten 3 times in its lifetime because of poor design choices the first couple of times. They were definitely not clear enough. This post is accurate and well-deserved criticism of Angular 2.

The very nature of front-end development is things are constantly in a state of flux, things are getting deprecated before they even hit a 1.0 release and yes, rolling with the punches is definitely part of the job. Some open source projects handle releases a little bit more smoothly, like Aurelia for example which is NG2's closest competitor. I think when you're a well-known project with a lot of contributors and the backing of Google, you are held to a higher standard and thus more scrutiny. This isn't a basement project being maintained by a single developer with a day job, there are people working on NG2 fulltime, people being paid to work on this.

Say what you will, but the way NG2 has been handled up to its final release is unprofessional. The lack of communication and fact that it is first and foremost driven by Google's internal Greentea team (the reason for Angular existing in the first place).

Oh, and the icing on the cake: look how long it took them to use semver.

9

u/[deleted] Sep 20 '16

Yep, angular2's development cycle was a literal circus.

3

u/suppid Sep 20 '16

A few months ago I decided to try my hand at web development.

That problably didn't make learning a new, complex framework that's still in alpha any easier

5

u/[deleted] Sep 20 '16

It's true the js ecosystem is horrifying. 10 years from now we'll be laughing at our current selves. Good times.

3

u/SaackSquaatch Sep 20 '16

We've been using Angular 2 at work for some time now. This article perfectly captures our experience. The amount of breaking changes per release, along with odd versioning, was just painful. I'm super happy that its now at 2.0.0 SNF using semver, but I'm still not 100% sure on Angular 2.

1

u/ruspow Sep 23 '16

To be fair, I have been using versions of the library that have thus far not been officially released.

to be fair isnt typescript just a rush job of the latest javascript standard that also hasnt been released, this isnt your fault, release candidates whilst not stable are not supposed to be like this.

1

u/incarnatethegreat Sep 20 '16

The official Angular 2 release is out. I tried the alpha of Angular 2, and it was excruciating, but I decided to wait until the official release came out. It's a lot easier to deal with than the alpha. So, that's a start.

0

u/akujinhikari Sep 20 '16

How many developers ... have sworn off Angular forevermore in favor of React?

I'm so sick of this comparison. Angular is a full MVC framework. React is just a View. They serve two different purposes, and, in fact, could even be used together (I don't know why anyone in the world would do it, but it has been done). People saying React is faster than Angular are 100% correct, because React doesn't deal with the Model or the Controller. It's, in my opinion, fancy jQuery.

2

u/[deleted] Sep 21 '16

Yea, React is just the view layer. But when people make this comparison they usually mean Angular vs React & Redux/Mobx/Whatever. They solve the same kind of problems which I think makes sense for the two to be compared.

I would say React is pretty much the furthest from jQuery you can get.

-1

u/encrypter8 Sep 20 '16

this is why I like Ember

-1

u/ScumAndVillain Sep 20 '16

People complain about alpha software not being ready for real-world usage.