Write Go like a senior engineer

What I wish I knew when I started writing Go

Jacob Bennett
Level Up Coding
Published in
7 min readDec 12, 2022

--

Renee French, CC BY 3.0, via Wikimedia Commons

I started writing Go professionally in 2018. Here’s what I wish I could tell myself when I started.

Go is pass-by-value

Go is exclusively pass-by-value. That means each function receives a copy of the value of what you passed in. No exceptions.

--

--

Staff Software Engineer @ Medium • https://jacob.bio • I write about software engineering, product design and development, and leadership in tech.