courses / typescript
learn typescript
Three levels, from never written code to writing it like a professional. JavaScript that scales, with static types.
from zero to your first real programs.
For people who have never written a line of code. Nothing is assumed: every new word is explained the moment it appears.
1 unit 1 Say hello Make the computer do exactly what you tell it.
2 unit 2 Boxes with names Make the computer remember things.
3 unit 3 Words and numbers Tell text and numbers apart and use both.
4 unit 4 Make decisions Make your program choose what to do.
5 unit 5 Repeat yourself Do the same thing many times without copying.
6 unit 6 Arrays Keep many things together and work through them.
7 unit 7 Your own commands Wrap code up so you can use it again.
build things that are actually useful.
For people who finished Level 1, or can already write small programs with variables, decisions, loops and functions.
1 unit 1 Shapes of data Describe your data so the checker knows what every value holds.
2 unit 2 This or that Let a value be one of several things, and find out which.
3 unit 3 Maybe, and never Handle values that might be missing, and lock values that must stay.
4 unit 4 Lists, pairs and lookups Work through arrays quickly, pair values up and look things up by name.
5 unit 5 Build your own types Write code that works for any type, and build objects from classes.
6 unit 6 Waiting for answers Write code that waits for timers and for replies from a server.
7 unit 7 Trust, but check Check data as it arrives, and recover when things go wrong.
write typescript like a professional.
For people who build things on their own and want code that others trust and can change.