Learn TypeScript
This section contains a practical introduction to the TypeScript programming language aimed at new developers who wants to learn it to use with TSWoW specifically. It might work as someone’s first introduction to computer language, but if you feel stuck you may need to seek out some other resources.
These tutorials shouldn’t be necessary to learn how to write datascripts
, as those rarely need to consist of real code and function just as well as glorified configuration files, but for livescripts
it is necessary to understand how the computer executes things.
If you already have a good grasp on computer programming for another language, you can probably skip these tutorials and head directly for getting-started.
Table of Contents
- Hello World
- Learning the tutorial environment and modify our first program
- Variables
- How we store and categorize data in our programs
- Arithmetic
- Writing mathematical formulas and calculations in code.
- Control Flow
- Logic and making decisions based on data
- Loops
- Making our program do something repeatedly
- Functions
- Naming parts of our code to easily execute it from anywhere else.