Home  >  Q&A  >  body text

angular.js - 该用什么语言写angularjs 2.0应用

typescript dart javascript

PHPzPHPz2686 days ago538

reply all(5)I'll reply

  • 迷茫

    迷茫2017-05-15 17:01:42

    Of course I use typescript 了, tsng2 的官方语言,除了让你能用 IDE 开发程序外, 还是 js 的超集, 相当于 ES7 + (兼容动态类型的)静态类型系统. 这比 babel 什么的转译器好哪去了, 除非有些人在完全无知的情况下反 ts, 或者你已经习惯 js (accept its various pitfalls), I don’t want to spend time understanding other things, otherwise there is no reason not to use it.

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-15 17:01:42

    If you want complete documentation, typescript, if you want cool, then dart, I am using dart now

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-15 17:01:42

    typescript it

    reply
    0
  • 某草草

    某草草2017-05-15 17:01:42

    Both ts and js are acceptable. It depends on the needs of the team. If team members feel that converting ts is expensive, then use js. es6 is already very powerful. I guess the ts language will slowly disappear. After all, es has started to be updated once a year. tsc will eventually be a translation tool like babel. The latest tsc can already translate js. es is updated every year and will not have many new features compared to ts. I personally think it is better to use the es6 version of js, both in terms of team learning costs and Future upgrade costs will be minimal.

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-15 17:01:42

    It’s time to start using Dart.

    reply
    0
  • Cancelreply