6 ms·
Look, Result defaulting to Ok is stupid too—it doesn’t have a sensible default value. But Go already has a problem with some of its zero values being stupid. I
by chrismorgan 2y ago
Look, Result defaulting to Ok is stupid too—it doesn’t have a sensible default value. But Go already has a problem with some of its zero values being stupid. I don’t think proper enums would make it any worse?
- stouset 2y agoI think this is a reasonable take. It might be a stupid decision, but it's at least consistently stupid.