Hacker News new | ask | show | jobs
by tomlu 2311 days ago
> A function which only returns an error can have its result ignored without any warning.

It should perhaps be an error to not assign an error to a variable. Internally, Google has linters that enforce this.