← Back to blog

What Go's defer Actually Taught Me About Functions

Defer's evaluation timing and named return values that get mutated after the return statement: two Go function features with no real TypeScript equivalent.

Written by Denys Dovzhenko