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

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.