Go Pointers: When to Use Pointers

Photo by Nick Fewings on Unsplash

The Hazards of Pointers

Nil Pointer Dereferences

Accidental Mutation

My First Rule of Pointers

A Myth About Pointers

You Don’t Need Them as Badly as You Think

Okay… Here’s Where I DO Use Pointers

When There is no Other Option

Functions That Mutate Their Receiver



Kent is a senior engineer on the Azure Cloud Native Computing team at Microsoft, working primarily with Kubernetes and other open source projects.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store