Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
qznc
· 1mo ago · 0 comments
I would not describe exceptions as return values. Speaking in a C context, exceptions are more like "longjmp" than "return".
Comments
[–]
jonenst
1mo ago
They're both ! Exception are definitely viewed as an alternate communication channel. And stack unwinding is one aspect of the communication. See
https://nedbatchelder.com/text/exceptions-vs-status#h_valuab...
(and many other)