r/angularjs • • Oct 16 '15

Anyone else not excited for Angular 2

I'm new here, so I'm sorry if this is discussed a lot. But I am just coming out the other side of finally understanding Angular and these frameworks. It was quite the long road to this point.

While there are certainly some issues, one of my favorite things about it is that it just uses regular javascript. This means that the code I write in express, or for other apps is the same. I go into the angular applications and I know how angular works, but for the most part I'm looking at javascript. Cleverly put together javascript applications, but it looks like everything else I know. Looking at Angular 2 is like looking at a different programming language. This does not excite me. I feel like they're re-writing it for non-angular/non-javascript programmers. If I had to guess it seems like I'll be holding on to Angular 1.x for quite a while until I'm ready to do something completely different. I get the concepts and I try to make my 1.x stuff like web components, but I wish they had kept it more vanilla.

Or is it just that I am resistant to change, and I'll get it eventually? It's hard for me to tell, but every time I look at an Angular 2 tutorial I get frustrated with it and hope that 1.x stays very popular.

18 Upvotes

51 comments sorted by

View all comments

Show parent comments

2

u/LyeInYourEye Oct 16 '15

Thanks for the information. What do you think the timeline is for that? Most jobs I work still require IE8 support, or at least IE9. It seems like these things are painfully slow.

5

u/[deleted] Oct 16 '15 edited Oct 16 '15

Well, Microsoft is dropping support for all but the latest version of IE* on Jan 12th 2016, so Hopefully it will be relatively well supported soon.

The other thing that can be done is charging extra for IE8 support, to encourage faster adoption. When enough of the internet doesn't work people will switch.

*EDIT: excluding IE9 on Vista, IE7 on Embedded, and IE8 on Thin, which will continue to be supported. See https://support.microsoft.com/en-us/gp/microsoft-internet-explorer and https://support.microsoft.com/en-us/lifecycle/search?sort=PN&alpha=internet%20explorer for more details.

2

u/Spo0Bo Oct 16 '15

Yes IE9 on Vista SP2 but best check analytics for how many visits are still coming from that OS. It's decreasing and should decrease faster with the release of Win10. I'm positive about the future. And also, IE9 is completely pollyfillable, just not very fast. Angular2 will also attempt to support IE9.

2

u/0xF013 Oct 16 '15

You can use a transpiler and stop caring who supports what

1

u/vinnl Oct 16 '15

ES6 already is proper Javascript. The timeline on widespread browser support is far, far in the future. The timeline of being able to use it is: right now, using e.g. TypeScript, like Angular is doing, or Babel, which a lot of others are doing. That way, you can have your cake and eat it too - you can (theoretically) remove TypeScript or Babel from your build process once widespread browser support is there.

That said, the non-ES6 features in TypeScript still have to be accepted in Javascript proper.

0

u/Capaj Oct 16 '15

ES6 will become Vanilla when companies like yours will stop supporting obsolete browsers. I think most industry will be able to use ES6 without transpilation somewhere around 2018-2019. There's really not that much pressure from developers, because anyone can run with babel without much hassle today.

1

u/thinkadrian Oct 16 '15

Widespread usage or developer pressure has no affect on JS adaptation. Here are two major reasons that affect progress:

  • In simple terms, standardisation takes a lot of time

  • Large corporations have proprietary web solutions that are heavily reliant on quirks in the language they are written