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…
Daily edition · Go
TILens turns technical updates into a focused daily brief: official releases, trusted reporting, and practitioner analysis, deduplicated and organized by topic.
1 article · 1 source ·
Top topics: 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…