Angular还能用多久?

Will Angular still be valid in the future?

以下是 Mattias Petter Johansson 在Quora上的回答,转过来的原因是:阅读量和点赞量都最高。

0_1519551989487_深度截图_选择区域_20180225174623.png

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.

Languages and runtimes like JavaScript, Java and C have rather long lifespans for a number of reasons, one of which is that they are low-level and pliable. I.e. they are Lego, not Duplo or Playmobil. As we figure out new and better ways of programming we can do that in these tools. The grow with us over time.

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

原文链接在这里:https://www.quora.com/Will-Angular-still-be-valid-in-the-future

简述一下他的观点:

底层的东西生命周期很长,比如Java、C、JavaScript这些语言,框架之类的东西生命周期比较短。建议大家多学一些基础的东西,比如数据结构之类的。

登录后回复

与 Angular开发者 的连接断开,我们正在尝试重连,请耐心等待