Can I learn and understand Angular2 without understanding JavaScript?

没有JavaScript基础我能学习和理解Angular2吗?

翻译来源:https://www.quora.com/Can-I-learn-and-understand-Angular2-without-understanding-JavaScript

本文地址:http://blog.csdn.net/sushengmiyan/article/details/52582491

本文作者:苏生米沿

来自Andru Vallance的回答:

No. Using Angular2 will require using Javascript (or one of the supersets).
不可以,使用Angular2将会需求使用Javascript或者一个任何它的超集。
Theoretically you may get by without a solid understanding of the language as a whole, or of features of it you don’t come across in Angular2 documentation and examples.
理论上来讲,你或许可以没有整体的对语言或者它的特性有一个了解也过得去,你不能通篇的理解Angular2文档和示例。
However, such an approach would be foolhardy; askin to writing a book in an unknown language while denying yourself to any language learning tools other than a single book written in that language.
然而,这样做事鲁莽的行为,被要求用一个你不知道的语言写一本书,并拒绝学习使用这个语言相关的其他语言学习工具。


来自Aniketh Mallabadi的回答:

You can’t understand Angular2, you should at least know Typescript instead of Javascript but even for Typescript you need some basic JS stuff.. Suggest you to start with JS which is fundamental for web development. You have really good resources online, if you spend one week that’s more than enough to learn JS.
你不能彻底的理解angular2,你不知道javascript也至少应该知道Typescript,但是对于Typescript来说,你也需要知道点基础的JS知识。建议你从JS开始,它是web开发的基础。在线资源很多,你花费一周的时候学习JS足够了。

By learning JS you can understand many more frameworks rather than angular alone.
通过学习JS你可以理解框架而非仅仅是angular.

Checkout Udemy classes JavaScript: Understanding the Weird Parts - Udemy just 11 hours class which makes you master in JS then understanding Angular 2 would be easier. For Typescript tutorial check Quick start · TypeScript .
去Udemy课程中找Javascript课程,11个课程就能让你掌握JS,然后你会发现学习Angular2很简单了。

来自Vani Ananthuni的回答:


Nope! You need to know Javascript/Typescript.
不!你必须要知道javascript/typescript才可以学习abgularjs2;
Typescript is used for Angular 2(Dart , Es5 or Es6 also can be used) And typescript is superset of JavaScript. Once you know JavaScript and understand OOPs, you can learn typescript easily.You also need to know scope of variables etc. If not typescript, at least JS will help you in the beginning. Although, there are some serious issues with using JS in Angular2.

Typescript是被angularjs2采用的是JS的超集。你知道了JS并且理解了面向对象编程,你学习起来就会很容易。你需要知道变量作用域等,如果不学习typescript至少也知道JS,尽管这样对在Angular2中使用JS还是有点问题。


总结:学习Angular却不懂JS,那我真的很佩服你们呀。
亲们。angular2已经正式发布了,我们还犹豫啥呢,抓紧行动咯。

没有JavaScript的基础,我可以学习Angular2吗?的更多相关文章

  1. JavaScript的基础学习

    由js和python想到的: 弱类型语言 js 中的数据在进行算数运算时,会自动转换类型强类型语言 变量的值的数据类型一旦确定,使用时不能改变 动态语言:编译时不知道数据类型,只有在执行时才知道数据类 ...

  2. JavaScript的基础学习(一)

    一.JavaScript概述 JavaScript的历史 1992年Nombas开发出C-minus-minus(C--)的嵌入式脚本语言(最初绑定在CEnvi软件中).后将其改名ScriptEase ...

  3. 【学习笔记】JavaScript的基础学习

    [学习笔记]JavaScript的基础学习 一 变量 1 变量命名规则 Camel 标记法 首字母是小写的,接下来的字母都以大写字符开头.例如: var myTestValue = 0, mySeco ...

  4. 三丶JavaScript 的基础学习(一)

      知识预览 BOM对象 DOM对象(DHTML) 8 实例练习 JavaScript概述 JavaScript的历史 1992年Nombas开发出C-minus-minus(C--)的嵌入式脚本语言 ...

  5. JavaScript 的基础学习(一)

    JavaScript概述 JavaScript的历史 1992年Nombas开发出C-minus-minus(C--)的嵌入式脚本语言(最初绑定在CEnvi软件中).后将其改名ScriptEase.( ...

  6. JavaScript RegExp 基础详谈

    前言: 正则对于一个码农来说是最基础的了,而且在博客园中,发表关于讲解正则表达式的技术文章,更是数不胜数,各有各的优点,但是就是这种很基础的东西,如果我们不去真正仔细研究.学习.掌握,而是抱着需要的时 ...

  7. 零基础如何系统学习Java Web

    零基础如何系统学习Java Web?   我来给你说一说 你要下决心,我要转行做开发,这样你才能学成. 你要会打字,我公司原来有一个程序员,打字都是两个手一指禅,身为程序员你一指禅怎么写出的代码,半个 ...

  8. 快速掌握JavaScript面试基础知识(三)

    译者按: 总结了大量JavaScript基本知识点,很有用! 原文: The Definitive JavaScript Handbook for your next developer interv ...

  9. 快速掌握JavaScript面试基础知识(二)

    译者按: 总结了大量JavaScript基本知识点,很有用! 原文: The Definitive JavaScript Handbook for your next developer interv ...

随机推荐

  1. sort()与sorted()区分开

    列表的排序方法是sort 可用list.sort() sorted()是BIF不能用list.sorted() 引发的异常AttributeError: 'list' object has no at ...

  2. 找出一个文件夹下后缀名为.jpg的文件

    import os list1=os.lisdir('E//') #方法一列表推导式 list2=[i for i in list1 if i.endswith('.jpg')] #方法二for循环 ...

  3. SQL将一个数据库中的数据复制到另一个数据库中

    复制表结构 首先,打开并连接Sql Server,在源数据库Source_db(源数据库名称)上右键,然后依次点击"编写表脚本为"→"CREATE到"→&quo ...

  4. [LeetCode] Partition Labels 分割标签

    A string S of lowercase letters is given. We want to partition this string into as many parts as pos ...

  5. [LeetCode] Shortest Completing Word 最短完整的单词

    Find the minimum length word from a given dictionary words, which has all the letters from the strin ...

  6. Codeforces Round #403 (Div. 1, based on Technocup 2017 Finals)

    Div1单场我从来就没上过分,这场又剧毒,半天才打出B,C挂了好几次最后还FST了,回紫了. AC:AB Rank:340 Rating:2204-71->2133 Div2.B.The Mee ...

  7. ●BZOJ 4826 [Hnoi2017]影魔

    题链: http://www.lydsy.com/JudgeOnline/problem.php?id=4826 题解: 主席树,单调栈 以前还没做过这种维护信息的题,感觉好奇妙. 每对相邻的两个数所 ...

  8. hdu 5463(水水)

    Sample Input 2 3 2 33 3 33 2 33 10 5 467 6 378 7 309 8 499 5 320 3 480 2 444 8 391 5 333 100 499   S ...

  9. [济南集训 2017] 求gcd之和

    题目大意: 求\(\sum_{i=1}^n\sum_{j=1}^mgcd(i,j)\) 解题报告: 有一个结论:一个数的所有因子的欧拉函数之和等于这个数本身 运用这个我们可以开始推: \(\sum_{ ...

  10. js去除空格,判断是否包含

    js去除空格 function trimStr(str){ return str.replace(/(^\s*)|(\s*$)/g,""); } js判断是否包含 //是否包含 f ...