2 ms·
No, it doesn't have strong if err != nil { return err; } vibes. Pattern matching on Ok/Error is one of the best known error handling, while go error handling i
by bmacho 1y ago
No, it doesn't have strong if err != nil { return err; } vibes.
Pattern matching on Ok/Error is one of the best known error handling, while go error handling is one of the worst. They are about as far from each other as possible.
- smithcoin 1y agoInteresting, I find myself thinking the exact opposite.