Spotlights

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

Option Types

Are option types a good idea, or are they just syntactic sugar?

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.