2 ms·
A (sad?) workaround I've seen is to intentionally misspell words in error / log messages so that they're unique enough. I guess I don't blame people doing that,
by hiq 3y ago
A (sad?) workaround I've seen is to intentionally misspell words in error / log messages so that they're unique enough. I guess I don't blame people doing that, but it does point to limitations of the language.
- pg_1234 3y agoThis, and sooo many other shortcomings, begins to explain why a submission extolling Go's error handling is already flagged. Go, and it's error handling (and for that matter it ludicrously verbose failure to bubble up errors) is a steaming pile of shit.
- threatofrain 3y agoI've started to add types to log messages so they can be easily sorted with a nice GUI. Your way works too.