zlacker

[parent] [thread] 0 comments
1. torgin+(OP)[view] [source] 2025-08-22 19:43:47
I think you hit the nail on the head - I think it's the stupid decision on Go lang designers part to make panic-s recover-able. This necessitates stack unwinding, meaning defer-s still need to run if a panic happens down the stack.

Since they didn't want to have a 'proper' RAII unwinding mechanism, this is the crappy compromise they came up with.

[go to top]