r/javascript • • Sep 15 '16

Angular 2 Final Released

http://angularjs.blogspot.com/2016/09/angular2-final.html
358 Upvotes

190 comments sorted by

View all comments

Show parent comments

-5

u/Attila226 Sep 15 '16

I have to agree with you here. While I've enjoyed working with Angular 2 so far, and haven't really used React yet, but the general sense I get is that Angular 2 is more for the masses while React is more the high end.

3

u/[deleted] Sep 15 '16

If it was for the masses, they wouldn't have changed so goddamn much. I get that they wanted to improve it, but they completely changed it, turned away from most of what made Angular Angular and should've really started a new project to not cripple the one they got already.

1

u/[deleted] Sep 15 '16

Angular 1 and 2 work side by side. A few tweaks to your routes and you're good to go. Leave old code as is, move new code forward.

0

u/[deleted] Sep 16 '16

So how long do we want to be annoyed by old code as there isn't a replacement yet for that?

1

u/[deleted] Sep 16 '16

Forever. Why would you rewrite code you don't have too? That's the point of the two being compatible.

1

u/[deleted] Sep 16 '16

When maintaining i would reach a point that it would be better to rewrite for the future, than to keep it what it is now. Or do you want to keep Angular 1.5.8 code alive for 10+ years?

1

u/[deleted] Sep 16 '16

Yes, I would. Don't change code that works. Besides the chance to break things, why would I waste time that could be used driving the app forward? If my code works for 10+ years, I'd be ecstatic.

If you need to update code for a reason, refactor it then. Be sure to have good test cases and use source control.