2 ms·
> Note that setjmp() and longjmp() are how C does exception handling, so this rule bans any use of exception handling. In theory yeah, but I've very rarely enc
by procaryote 2y ago
> Note that setjmp() and longjmp() are how C does exception handling, so this rule bans any use of exception handling.
In theory yeah, but I've very rarely encountered it in the wild.
It's hard to use right in any code that has cleanup to do, without building a lot of infrastructure for resource handling.