News for hackers. Stuff that matters.
Re:Handling exceptions in Python like a pro by nlitened on Thursday May 20, 2021 @01:08AM (#27217613)
From what I’ve seen so far, in reality people tend to overuse the `try!` macros, which leads to the same old bubbling exceptions semantic, but more verbose, less performant, and lacking stack traces.
Re:Handling exceptions in Python like a pro by jcelerier on Thursday May 20, 2021 @02:53AM (#27218178)
Right, with exceptions you can `catch throw` to always get a stack trace of when the exception is thrown