Spotlights

Short tips, essays, and news about working with Go and software development.

A Delve Debugger Cheatsheet

Debuggers tend to go overboard with features and subcommands. This Delve cheatsheet lists the most important commands that cover 90% of all use cases.

Avoid Anonymous Types

Anonymous types may seem like a suitable shortcut for simple scenarios, but the drawbacks don't outweigh the (perceived) benefits.

A New Error Handling Syntax

A proposed new syntax for error checking promises clearer code, but the syntax may lead to carelessly letting context-free errors bubble up the chain.

Weak Pointers

I would have called them modest pointers. They are unobtrusive and don't leave any garbage behind.

Big Things Will Happen

You might feel powerless in the face of recent and upcoming disruptions. Think twice: Your Go skills are your secret weapon.