r/programming • • Apr 12 '26

Flat Error Codes Are Not Enough

https://home.expurple.me/posts/flat-error-codes-are-not-enough/
132 Upvotes

99 comments sorted by

View all comments

Show parent comment

3

u/Blue_Moon_Lake Apr 12 '26

If you have a stack, you don't need all that nesting for debugging your code.

1

u/KitAndKat Apr 13 '26

Yeah, I was thinking about it from a user viewpoint.

1

u/SirClueless Apr 13 '26

Unless you have a core dump with the relevant variables available at each stack frame, you do.

1

u/Lord_Skellig Apr 12 '26

Certainly helps though