沒有JavaScript的基礎,我可以學習Angular2嗎?

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已經正式發佈了,我們還猶豫啥呢,抓緊行動咯。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章