Go vs JavaScript

Knowledge Videos

Short animated explainers, organised by subject.

Go vs JavaScript

Pick an idea (variable, loop, list, error...) and see the JavaScript and the Go side by side.

You already know JavaScript, so Go is a second way to write the same ideas. Go is compiled and statically typed: every variable has a type that is fixed, and the compiler checks the whole program before it runs.

Each pair shows the same small program in both languages, with a sentence about the one difference that matters most.

Things to try

From the videos