Skip to content
TILens What matters today in tech v0.3.1
Theme

Daily edition · Go

The daily ledger

TILens turns technical updates into a focused daily brief: official releases, trusted reporting, and practitioner analysis, deduplicated and organized by topic.

08 Dec 2019 edition

1 article · 1 source ·

Top topics: Go

Go

Dynamically scoped variables in Go

This is a thought experiment in API design. It starts with the classic Go unit testing idiom: What’s the problem with this code? The assertion. if err != nil { ... } is repetitive and in the case where multiple…

Source: Dave Cheney Dave Cheney