Security: The Habits That Matter Most Apr 27, 2025Security is more crucial than ever. Making security an afterthought is a footgun. Learn how to write secure Go code from the start.
Final Destination: Go? Apr 20, 2025After a long (and exciting) journey through umpteenth of programming languages, I arrived at Go and finally feel at home.
Go Doesn't Like Import Cycles Apr 13, 2025Programming language theory doesn't rule out import cycles ... but this doesn't make them a good idea.
Functions In Templates—Embrace Or Avoid? Mar 30, 2025Go's templates allow defining custom functions for use inside the template. Nice, but type safety gets overboard. Are they still worth using?
JSON Lines Feb 27, 2024This happens when JSON and CSV have a baby. (And how your Go code can benefit from it.)
No Risk, No Fun? Beware Of Careless Use Of MCP Apr 06, 2025Letting an LLM code some tool in Go can be nice, especially when it uses tools via MCP. But there are some risks involved.
Optimize Memory Usage With slices.Clip ... NOT! Mar 16, 2025Clipping a slice doesn't free any memory. What is slices.Clip() good for then?
A Delve Debugger Cheatsheet Mar 02, 2025Debuggers tend to go overboard with features and subcommands. This Delve cheatsheet lists the most important commands that cover 90% of all use cases.
Is []*T faster than []T? Nov 04, 2023Is a slice of values faster than a slice of pointers? Does it even matter?