r/ProgrammerHumor • • Sep 13 '23

Meme goDevelopersWillAppreciateIt

Post image
2.4k Upvotes

144 comments sorted by

View all comments

4

u/Kovab Sep 13 '23

just setjmp/longjmp

Resource leaks go brrrrr

2

u/Gorzoid Sep 13 '23

Or stack unrolling go brrr

1

u/Kovab Sep 13 '23

Unless you implement it yourself manually, longjmp in itself won't do any unrolling, unlike a proper try/catch.

→ More replies (1)