r/angularjs • u/placidified • Nov 05 '14
[General] Angular 1.x: The plan forward
https://docs.google.com/document/d/1dZdq2L8EkzimgvU93ypLF9GJpdzD2jjm08Zal6sfxMQ/edit?hl=en&forcehl=14
u/JacobHarrington Nov 05 '14
Seems like a precarious approach to be taking, with simultaneous development going on along V1 while V2 is in active development. Hopefully they're able to manage the coordination effectively - I'd hate to see adoption for the newer versions of Angular wane due to developers waiting for the merging of the two branches.
However, if it frees up the v1 folks to focus more on bugfixes and allows v2 to grow more robust as a result. Hopefully they don't diverge too greatly, though.
4
2
u/dmackerman Nov 05 '14
The bottom line is that 2.0 is a very long ways off. 1.x will still be the premier front end framework for lots of us for a very long time.
2
u/gatman02 Nov 05 '14
Great News!
1
u/djvirgen Nov 05 '14
I'm looking forward to 2.0 while excited to hear that Pete will be helping to keep 1.x stable. Agreed, this is great news!
-1
Nov 05 '14
Really? Angular 2.0 is still not going to resemble 1.x enough to make it worth continuing with 1.x.
10
u/elprophet Nov 05 '14
Ooh, what will 2.0 look like? I'd love to know, and so I think would Igor, Misko, and the rest, because as the conversation on angular/angular#133 shows, they don't know either!
-1
Nov 05 '14
The word is out and it's already sent ripples through the developer community.
4
u/elprophet Nov 05 '14
That commentary on html syntax is out of date - https://github.com/angular/angular/issues/133
AtScript will be interesting, but it will come with ES6 - something devs will want to learn no matter which framework they're using.
1
Nov 05 '14 edited Nov 06 '14
Maybe you missed this part:
Version 2.0 eliminates the following 1.X concepts:
Controllers
Directive Definition Object
$scope
angular.module
jqLite
Angular 2.0 is definitely very different than 1.x, and it has people worried about it. I've talked to a bunch of managers this week who are scratching their heads about this decision and half of them are laughing at the people who chose Angular over Ember or other frameworks.
The feeling is that nobody is going to use 1.x to start a new project since this announcement, and in the absence of 2.0 they are choosing other frameworks.
From what I've heard around the industry, the Angular brand has pretty much jumped the shark with people who make decisions about what frameworks to use. You may not like to hear this, but that's what's going on out in the wild.
4
u/vagif Nov 06 '14
Controllers
Overengineered, overly complex, hard to understand, especially with dynamic scoping.
We can do much better. Simplicity is one of the most important traits of any framework/api.
Directive Definition Object
Overengineered, hard to understand, cryptic, again dynamic scoping.
The new web components standart is much better.
$scope
Dynamic scoping. A lot of people make a lot of mistakes when using it. You also supposed to know the hidden gotchas, like not watching top level objects on the $scope.
Again, we can do much simpler (and thus much better)
angular.module
NIH syndrome. Besides ES6 already comes with modules. Why drag custom clutch into the future?
jqLite
Absolutely useless. No one needs it.
From what I've heard around the industry, the Angular brand has pretty much jumped the shark with people who make decisions about what frameworks to use.
Bullshit. Internet echo chamber is not equal to actual industry users.
As a angular 1. user i applaud their decision to move forward instead of cowardly clinging to subpar design. As a developer i would've never stick with such complex framework as angular 1. no matter what. If they'd would not come up with drastically better version, then someone else would. And then we all would've jumped the ship.
3
u/elprophet Nov 05 '14
I recognize that's what's "out in the wild", I just find the people laughing are doing so from a very knee jerk reaction, and not taking the time to see the bigger picture.
1
Nov 05 '14
Nobody has time to wait for Angular - business moves on pretty quickly. A lot of people feel misled, and they feel like they've wasted time investing in Angular 1.x and 2.0 is too far off to even think about. It's a real problem for Angular, it lost a huge amount of popularity in the last week.
3
u/elprophet Nov 05 '14
ng-eu will go down as being a blunder, certainly. From my end, as an educator & team lead, it's incredibly frustrating seeing people scream and run for the hills over a perceived threat to their knowledge. Those concepts are not going away, nor was learning them wasted. Rather, the syntax that implemented them will be stripped to the core, leaving less code needed to tell the framework what you're trying to do and freeing the developer to spend more time writing business logic and making things. So please, cut the FUD, recognize the mistakes of ng-eu for what they are (a failure of communication, not an abandonment of technology).
1
u/Poop_is_Food Nov 06 '14
cut the FUD
God the similarity between this sub and /r/bitcoin is so hilarious to me.
Look. It doesnt matter how awesome 2.0 is. It doesnt exist yet. And 1.x is dead. So why would anybody start a project in 1.x right now? Angular devs are already too expensive as it is. Imagine how much they'll be charging in a few years when they become an endangered species who can extort companies to update and maintain legacy 1.x apps? No company wants to put themselves in that situation to get gouged a few years down the road.
-2
u/greenek_ Nov 05 '14
If they don't - community will. Day before 2.0 release, code will be stable enough to be maintained by others.
-1
1
u/webjango Nov 05 '14 edited Nov 06 '14
The bottom line is that for Google, AngularJS 1.3 is a closed project period. Google should admitted and create another name for AngularJS 2.0.
If the AngularJS community wants to keep AngularJS 1.3 alive, go and do it.
-9
0
Nov 05 '14
[deleted]
4
Nov 06 '14
Ugh... this renaming nonsense has to stop. Renaming it implies that it is an entirely different project. It isn't. It's an evolution of an existing project that happens to be backwards incompatible. That's exactly what major version changes are for!
1
u/Poop_is_Food Nov 06 '14
It isn't. It's an evolution of an existing project that happens to be backwards incompatible.
"evolution" ... "incompatible". I dont think those two words belong in the same sentence.
1
Nov 06 '14
Yea they do. Software evolves and sometimes the evolution is a big enough leap that they aren't backwards compatible.
Do you honestly think all APIs should forever remain the same?
2
6
u/[deleted] Nov 05 '14
The github discussion about the direction of 2 was... Disconcerting. There's a lot of worry about the declarative side and frankly, I dont see much promise in the draft (if you can call it that) now. 86ing IE is always a good thing IMO but frankly it's unrealistic. 1.3 supports what, v10+? Great! 2 will support...13? I dunno. The strife seems higher than an other framework out there, maybe for good cause. No one got anywhere by coloring inside the lines all the time.
Nice to see the 1.x branch staying alive, but for how long...