Top
Best
New

Posted by zdw 2 days ago

The Two Kinds of Error(evanhahn.com)
24 points | 12 commentspage 2
metalliqaz 2 hours ago|
This post seems to conflate using `throw`, `raise`, etc. with crashing. The idea that 'handling' an error does not involve `throw`/`catch`, `try`/`except` is very strange to me. The exception facility is often the most elegant way to check inputs, and if I remember correctly the Python documentation says as much as well.
taylorallred 2 hours ago||
Another interesting article on error handling: https://www.dgtlgrove.com/p/the-easiest-way-to-handle-errors