← Back to blog

Slices and Pointers in Go: What Actually Surprised Me Coming From TypeScript

Slice headers, nil comparisons, and pointer fields for optional values: three places Go's syntax looks like TypeScript but the semantics don't match.

Written by Denys Dovzhenko