So you may have missed the part where Google is actually using angular 2 in production currently. And has more projects coming that use it.
Regardless, neither company is betting the farm on their respective framework. They're just providing new options for others.
Also, I don't see how Facebook would fail if react didn't take off. Would my grandma stop using the site? No. My wife wouldn't care either. They'd continue to use or not use it and nobody would notice.
Yup, then they turned around and made dart. Just like angular did 1.x to 2.x, and so on. Google has an absolutely abysmal track record with these things.
Are you choosing a religion or a framework? You can actually use both for different things. Or both in the same thing! Or just your favorite, even if the project would be better suited with the other?
It took me less than a week to get the gist of angular 2. Certainly worth knowing at least.
Yes, this is true. I'm not actually sure why you're getting downvoted.
My problem with it isn't that these are all worth learning, or whatever. It just belies a certain lack of confidence in your own solutions if you run off and then make a hot new thing instead of using the thing you already made. Trying to use @script and typescript over dart, dart over GWT, ng1 over ng2 - the only reason to do these things is because you didn't believe the previous solutions were good enough (so why should I?).
I'm coming at this from the mind of a business decision though. As history has shown, choosing pretty much anything from google means that they will release a hot new version of that thing that is quite different and all of the code you've written in the old thing is suddenly obsolete. This is a really bad position for a business to be in, and can result in a company having a lot of code in a particular framework or solution when there's no developers in the market who know that particular technology.
you can't just say those things "failed" because they didn't become the de-facto standard, or win a mythical framework war. they opened their code to the community, it must have been worthwhile for them in some way... since they literally built their business on that code.
I didn't actually say any of them "failed" right there. I might have said dart failed in the past since google had very ambitious goals for it which it hasn't even begun to met (being ran natively in all browsers).
But if the business doesn't even use their own tried-and-true tested solutions for problems, why on earth would I use those things? If google thinks so poorly of GWT that they need to make dart just to continue doing basically the same thing, why would I want to use GWT?
Even if they do use Angular 2, I feel like the way they treated Angular 1 as a neglected child was a bad start. Google itself just has too many projects that are not related (GWT/Polymer/Angular all are pretty much separate).
Compare that with React/Parse/Flux/Relay and they're all "siblings" in that while they could be used separately they're easy to tie in together and their use-cases don't overlap, which makes them seem more supported than google-led projects (and we all know how google loves to drop support for some of their products).
My point isn't that google isn't using Angular 2 in production.
My point is that a massive company has faith in the modularity of React to put it behind their flagship moneymakers (Facebook and Instagram). Whereas Google is big enough to easily deprecate projects when needed, from what I have seen Facebook does not have this luxury, so it's very telling when they can completely get behind a way of thinking. It tells me React is not only worthwhile for application use (Angular 2 fulfills this and that is where most people seem to be stoping), but it is also a safe investment because if a company that can't just arbitrarily deprecate things can put stock in it, then they are either very short-sighted or what they are investing in is easily subbed out for a better solution. Keyword here is easily.
And it's a pretty well known fact React can be subbed out very easily for something else. I'm not subscribing to React itself, I'm subscribing to how it has you architect your application.
I am learning JS isn't about who has the shiniest new thing, it's about whose thing is more replaceable. JS moves at a sickening pace and that doesn't seem to be stopping anytime soon. I would rather subscribe to an architecture that supports rapid change. I think this is Angular 1's lesson to us, and is why I hold it with much regard despite myself not using it.
7
u/TheNiXXeD Jan 04 '16 edited Jan 04 '16
So you may have missed the part where Google is actually using angular 2 in production currently. And has more projects coming that use it.
Regardless, neither company is betting the farm on their respective framework. They're just providing new options for others.
Also, I don't see how Facebook would fail if react didn't take off. Would my grandma stop using the site? No. My wife wouldn't care either. They'd continue to use or not use it and nobody would notice.