🔤Go
Also known as Golang, Go Language
A simple, fast language. Good for servers that do many jobs at once.
Think of it like
Think of it like a kitchen with only the knives you really need. Fewer choices, and the food comes out fast.
Example
Go was first built at Google. Jack copies one Go file to a cloud machine, and it serves 5,000 visitors an hour.
Why it matters
A lot of the tools that run the cloud are written in Go. It is quick to learn and quick to ship.
Definition
Example code
go
package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}Common mistake
Key takeaways
- 1Simple on purpose. Few features, one clear way to write things.
- 2One file to ship. Builds into a single program file.
- 3Many jobs at once. Easy to run tasks side by side.