Will Angular still be valid in the future?
以下是 Mattias Petter Johansson 在Quora上的回答，转过来的原因是：阅读量和点赞量都最高。
My view of software tooling history is that almost all technical tools get replaced with a pretty fast cadence. It’s not with the speed of the fashion industry, but it’s still pretty fast. We learn. We evolve. We revisit old tools that didn’t work before to see if they work now. We get infatuated.
Tools that are simple, robust and pliable survives a bit longer, but also eventually get replaced too.
Opinionated tooling like Angular or React are so high level that it cannot grow with developers. In fact, tools like these are expressions of evolution of the field. What I mean by that is that they are a kind of snapshot of how web development worked at one point in time. jQuery is a tool (with an ecosystem so strong it’s essentially a framework) centralized around DOM manipulation, because that was a huge issue at the time. Backbone came from an infatuation with MVC and the need for structure.
If you fall into the trap of building your knowledge on the former rather than the latter, you’ll fall into a kind of constant treadmill of learning new things all the time.
Instead, learn programming languages well, and learn techniques and concepts that they all have in common, and that will stay with us for a long time - for example - data structures, time complexity, version control, modularity, unit testing, composition - that kind of stuff. “Angulars” and “Reacts” come and go, but the fundamentals that they stand on move much, much slower.
Shameless plug: If you like my ramblings about programming on Quora, you might enjoy my YouTube show: Fun Fun Function
What is your opinion about Vue vs React in 2018?
这是 Aaron Martin-Colby 在Quora上的回答：
From an application perspective, React is still the absolute 800lb gorilla in the industry. I see no reason at all to use Vue over React unless you truly despise JSX. And even then, if you despise JSX, use Angular instead. As I have said time and again, the actual quality of the framework is unimportant. What matters is how easily problems can be solved, how large the developer population is, and how thus how easily a project can be staffed.
Furthermore, if you are interested in a more obscure framework for your work, I don’t think that Vue is different enough. I would rather work in Elm or Purescript if I’m dedicating myself to something esoteric.
All that said, if you are interested in a tool to bolt onto your otherwise static HTML pages, just as you would have used AngularJS or JQuery, then Vue can be a decent choice. Of the popular frameworks right now, Vue is the only one that is easily added to existing HTML. Wheth
er you would rather use it over JQuery is up to you. For my part, adding simple functionality to HTML is best done in vanilla JS.
I just read over what I wrote and I come off sounding like a Vue hater. I’m very much not! I love competition. I’m ecstatic that a 3rd toolset has garnered so much attention and energy. Simply having Google and Facebook fighting over web app dominance isn’t a healthy place to be. I want Vue to continue to grow, and I fully expect it to. Indeed, by the time 2019 rolls around, I suspect that my answer to this question will be different.