Cleaning Your Go Code

nwillc
Level Up Coding
Published in
3 min readJun 4, 2021

--

Photo by Kari Shea on Unsplash

One permanent takeaway from being a teaching assistant for college computer science courses was the value of readable, idiomatic code. When you had to thoughtfully review, back to back, many similar code samples, you don’t want them to be obfuscated. That lesson has served me well professionally, coming into play during key developer tasks like pull requests and maintaining code. Upgrading code from working to readable (and, therefore maintainable)

--

--

Graybeard code monkey, started on an Apple IIe, got a CS degree in the 80’s, and coded my way through C, C++, Objective-C, Java, Kotlin — and now Go.