4 ms·
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
by lwb 7y 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”.
- edflsafoiewq 7y agoActually the exceptions graph is simplified. The code to perform unwinding is not depicted.
- lwb 7y agoThe graph isn’t about implementations — it also doesn’t show that you have to increment a counter to make a loop.