3 ms·
Yeah I find it completely bizarre to not check everything for error conditions, unless you're writing some sloppy one-off code and don't care. People out there
by TillE 5y ago
Yeah I find it completely bizarre to not check everything for error conditions, unless you're writing some sloppy one-off code and don't care.
People out there write some pretty funky C.
- errcorrectcode 5y agoIt's a safety / performance tradeoff that isn't well-constrained by the language or most tools. That's partially why it's a fragile and dangerous language. If you're writing a serious kernel in C, you ought to have programmatic debugging assertion constraints for every parameter.