r/angularjs • • Oct 30 '14

[General] Angular 2.0, or why you should quit bitching and learn to embrace the change

Let's face it: The engineers at Google know that the changes they are working for in Angular 2.0 will be very unpopular and cause many developers to jump to another framework - just at a time when Angularjs is really picking up steam.

It seems on the surface to be a very bad decision and my immediate reaction was like many other developers - WTF?

But thinking about it has given me a different perspective. Prior to Angular, I used jQuery for my front end business. I really didn't even know about Emberjs or Knockout or any of the other front end frameworks. I don't even remember how I heard of Angular, but when I first looked at it, it made no sense to me and I didn't see how I could write better code in Angular and was very familiar and pretty good with jQuery. But I figured that there must be something to this whole Angular thing, so I went through the pain of the learning curve and came out on the other end more productive and able to more easily write bullet proof front end code. In short, the pain was worth it and placing faith in the fact that smarter people than I had developed a worthwhile tool paid off.

So now I look at Angular 2.0 through the same lens as I looked at Angular when I was jQuery bound. For all intents and purposes, it's a completely different animal and there will be a steep-ish learning curve, but I'm willing to accept this. As developers, we must embrace change - how else did you come to learn Angular in the first place? Google does not hire dummies and I believe that the Google engineers have very very good reasons for making such fundamental changes and that after it's all said and done, I will be a better developer and write better code for it.

2 Upvotes

17 comments sorted by

7

u/bitBuilder Oct 30 '14

That's great, and I agree, if learning Angular and developing with it is something you do on your own time. Or even for small applications at your employer. Learning is half the fun to me (and any good developer), and I certainly don't consider the time invested in learning 1.x as a waste.

However, the outrage is entirely understandable and justifiable when you look at this from the point of view of a person or company who's invested hundreds of man hours into a project leveraging Angular. As I just mentioned in another post, I'm heading up a large project where we selected Angular as our JavaScript framework back in May. We're currently in development, and hope to release in early 2015. So we need to either start planning for a rewrite before we've even released, or start looking at other frameworks and starting over.

This isn't about needing to learn something new, it's about wasting the money of my employer.

0

u/johnnybravoh Oct 30 '14

Well it is open source, right? So it's entirely possible and even likely that Angular 1.3+ will take on a life of it's own if there is sufficient will by the community - regardless of whether or not Google has anything to do with it.

2

u/Booyanach Oct 31 '14

what I fear will happen is something similar to python 2.6 vs 3.x and php...

0

u/[deleted] Oct 30 '14

[deleted]

7

u/bitBuilder Oct 30 '14

Nobody in their right mind initiates new development of an enterprise application with a technology that's effectively already been deprecated. Even if if that technology will be actively supported for another year or two, it means you're going to have to at least start planning for a rewrite before you've even released. That's absurd.

After 2.0 is released, any new development of exciting new 3rd party directives we might want to leverage will surely be targeted at 2.0. All the authors of the 3rd party directives you used with 1.3 will be focusing new development on 2.0. Useful new features to core Angular will only end up in 2.0.

Your codebase stagnates and withers on the vine as all the new features are funneled into 2.0. Developers get bored working on a stagnant, deprecated codebase and leave.

In short, I need to be able to promise we can stay on the cutting edge with our chosen framework for more than just the next year.

5-10 years? Right. I wouldn't count on even basic maintenance past 5 years (but to be fair, I'd expect to have to rewrite by then anyway.)

0

u/es_beto Nov 01 '14

(but to be fair, I'd expect to have to rewrite by then anyway.)

Exactly!

4

u/pfooti Oct 30 '14

There is no reason you can't keep running angular 1.3 apps in production. They work, right? The thousands (literally) of projects internally at google that use angular will still need maintenance. 1.3 isn't going to disappear. 2.0 represents new best practices and ideas. People who are freaking out about this are getting pretty hyperbolic. True, once 2.0 is stable it'll be a good idea to target new development for 2.0, but it's not like 1.3 will suddenly stop working. It's still fast and effective.

3

u/[deleted] Oct 30 '14

"You know nothing, Jon Snow"

4

u/Legym Oct 30 '14

We really need another thread for this? One was just posted 4 hours ago.

-2

u/johnnybravoh Oct 30 '14

I hadn't seen my take on the whole Angular 2.0 thing represented yet. Granted I haven't read every comment...

2

u/garvisgarvis Oct 31 '14

I think you are young. Am I right?

4

u/johnnybravoh Oct 31 '14

Nope. 48. So I guess technically that makes me old.

2

u/garvisgarvis Oct 31 '14

I'm surprised. I'm 53 but I guess my outlook is considerably older and crankier than yours.

1

u/johnnybravoh Oct 31 '14

Oh I'm sure I'll get there. Crankiness seems to come naturally with age.

0

u/[deleted] Oct 31 '14

[deleted]

-1

u/johnnybravoh Oct 31 '14

So what if it's a new pseudo-language? It's relatively easy for us(programmers) to learn new languages.

As far as blindly following Google's premises, I view it like this: I don't have time to dig into all of the myriad of changes/trade-offs/enhancements that come with Angular 2.0. Eventually the community will make and collectively informed decision about whether or not Angular 2.0 is good or not(instead of the reactionary crap everyone is spewing now) and that will weigh more heavily than the simple fact that Google is driving it. Until then though, absent of my personal investigation and any real substantial developer feedback, I choose to be open minded and look forward to it and believe that Google has good reasons for doing this.

0

u/[deleted] Oct 30 '14

[deleted]

3

u/pfooti Oct 30 '14

Let me just put this here. http://www.r-word.org/

You may or may not have a point I agree with, but if you don't police your language, you're not going to make that point in a way I'm going to listen to.

0

u/[deleted] Oct 31 '14

[deleted]

1

u/pfooti Oct 31 '14

Further, I doubt that you can credibly claim offense at the OP's use of "bitching" (which I agree could offend some folks), given that you used it in the exact same way in your post.

0

u/pfooti Oct 31 '14

I suggest you read the stuff at the link I left above, and again here:

http://www.r-word.org/

The F bomb I can kind of live with (although "fuck you" is a bit ... coarse). The R word isn't acceptable at all, ever.

Ever.