3 ms·
Sure but what should be the default?
by throwawaymaths 2y ago
Sure but what should be the default?
- eru 2y agoRust and Haskell can solve this fairly well: both styles of dealing with errors are easily accessible. Go solves this really badly. As for specifically what to do about division: the right default depends on your application. Either way is defensible, and I would rather work on making it easy to pick either style in the language of your choice, than to worry too much about what the default should be.