Cheat Sheet Introduction & Setup: How This Course Works
Cheat Sheet Introduction & Setup: How This Course Works
TypeScript
TypeScript is the language of choice for Angular 2 development. Its a superset
to JavaScript and therefore compiled into plain JavaScript. The main feature it
adds are the Types, which make development easier (autocompletion etc.)
and less error-prone (compiler errors).
Whilst you can create Angular 2 apps with plain JavaScript, there is way less
documentation available and it is unnecessarily hard.
Check out the dedicated TypeScript module for more information about it.
You may also have a look at the official documentation for a deep-dive:
https://www.typescriptlang.org/
Angular 2 Styleguide
Angular 2 code should follow the official style guide. Of course it will work fine
even if youre not following that guide, but it is a good practice to follow
official style guides. This makes your code more readable to fellow Angular 2
developers and makes sure that you have an easy time reading the official
docs.
Heres a link to the official styleguide: https://angular.io/styleguide