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

Topic - Edition

Go

1 items on 08 Dec 2019
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