3 ms·
That's not a feature of the language. Well, yes, but it's kind of nice when you've got exceptions with stack traces attached. Some people don't like exception
by bad_user 15y ago
That's not a feature of the language.
Well, yes, but it's kind of nice when you've got exceptions with stack traces attached.
Some people don't like exceptions, but I do.
- 0x12 15y agogdb: where
- ajross 15y agoIt is indeed "kind of nice". But the question at hand is whether it's a requirement for writing reliable software. I tend to agree with the posts here that argue that it's not. It saves time for developers, it doesn't meaningfully improve the quality of the end product. Serious C projects tend to come up with this stuff on their own, often with better adapted implementations than the "plain stack trace" you see in higher level environments. Check out the kernel's use of BUG/WARN for a great example of how runtime stack introspection can work in C.