Hacker News new | ask | show | jobs
by lwb 2312 days ago
My impression was that the article made the exceptions graph much more complicated than it needed to be. Each function doesn’t need three boxes, and they don’t need to each throw exceptions twice. IMO exceptions are much cleaner in practice and are great for things like “kill this script” or “throw a 500 error”.
1 comments

Actually the exceptions graph is simplified. The code to perform unwinding is not depicted.
The graph isn’t about implementations — it also doesn’t show that you have to increment a counter to make a loop.