Comment

Comment by PaulKeeble

We need a shortcut for the

if x,err = f(); err!=nil { return _,err }

pattern that is so common in go code. This is my biggest daily gripe and I work around it with a snippet but so much of integration code is this or a variant of it which captures the stack trace and it constantly distracts from the main flow of algorithm.

parent PaulKeeble 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton