X XFediYour place in the Fediverse
XFEDI

Conversation

ActivityPub

Use of setjmp()/longjmp() in code is typically a sign of laziness - and translates to "We didn't bother writing proper error handling". It's like using abort() but even worse. longjmp() out of the blue breaks the control flow of the application and easily leads to all kinds of resource leaks and state inconsistencies. The legitimate use cases for setjmp()/longjmp() are few and far between.

#C #programming

↩ Reply ♡ 0 · ↻ 0 ↗ Original

Oct 26, 2026 · 12:14 UTC

Replies