4 ms·
Yeah, the amount of bike shedding and yak shaving I've been pulled into over "how exceptions should be used" is pretty dismal. The worst thing is, I've still n
by davedx 3y ago
Yeah, the amount of bike shedding and yak shaving I've been pulled into over "how exceptions should be used" is pretty dismal.
The worst thing is, I've still not even 100% decided myself. I think that does say something about the design of exceptions.
- shrimp_emoji 3y agoThey should not be used.
- davedx 3y agoWell I definitely disagree on that. I fall more on the side of “use them for regular errors too” because IMO anything that reduces boilerplate is a good thing. But I also don’t like “magic” so it’s still a bit in tension in my head
- tomp 3y agoWhat happens when 1/0 though? Or socket disconnects?