JavaScript
Learning JavaScript is not contained in this book but you may use some other free to read online and up to date books.
To learn the language including the newest changes:
- Exploring ES6 by Dr. Axel Rauschmayer
- Exploring ES2016 and ES2017 by Dr. Axel Rauschmayer
If you are not familiar with the newest changes here you should at least look over these books or similar information in the net before going on here.
1. Type Annotations
For strict type checking use type annotations.
2. Coding Style
The following rules defines the basics which are derived from the Airbnb Style Guide. If configured the linter (see more under Testing) will ensure that these rules are followed.
A compact list of the essential rules are:
- avoid using
var
- literal object creation
- use object method shorthand
- use property shorthand
- use single quote strings
- use template strings