angular.js - 该用什么语言写angularjs 2.0应用
PHPz
PHPz 2017-05-15 16:59:42
0
5
517

typescript dart javascript

PHPz
PHPz

学习是最好的投资!

reply all (5)
迷茫

Of course I usetypescript了,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.

    我想大声告诉你

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

      滿天的星座

      typescript it

        某草草

        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.

          巴扎黑

          It’s time to start using Dart.

            Latest Downloads
            More>
            Web Effects
            Website Source Code
            Website Materials
            Front End Template
            About us Disclaimer Sitemap
            php.cn:Public welfare online PHP training,Help PHP learners grow quickly!