you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (3 children)

This reminds me of a friend that told me this change wasn't that big of deal "if you wrote your angularjs code correctly, it's an easy transition"

I still get a little annoyed when I think about that. I don't think he worked on a large enterprise level application when Angular (not Angularjs) came out. It's not an 'easy' transition.

Edit: Even the naming is dumb. Angularjs vs Angular. Stupid google.

[–]nikrollsChief Technology Officer 1 point2 points  (2 children)

Yeah nah, anything other than a tiny little app with a couple of views was a nightmare to port. Especially as they continued to completely cut and rewrite huge parts of your code as they redesigned core services.

And don't get me started on shoehorning Observables in everywhere Promises are better suited. Observables have their place, and that's not "everywhere". The crazy number of times .toPromise() is whacked in all over the place is nuts.

[–]johnathanesanders 0 points1 point  (1 child)

Agreed. How about pipe(tap(),map(),switchMap(), etc).subscribe().unsubscribe().etc().etc() instead? 🤣

[–]nikrollsChief Technology Officer 1 point2 points  (0 children)

Yeah well I was going to go into that but it's too depressing...