The engineering norms of C developers allow for "*" to be an acceptable sentinel...
Björkus "No time_t to Die" Dorkus @thephd@pony.social
The engineering norms of C developers allow for "*" to be an acceptable sentinel value indicating an error; the engineering norms of Rust developers simply do not.
Yeah, this is the heart of it honestly.
(From the end of: https://sunshowers.io/posts/sshole/)
It's obviously a "stop writing critical software in C" post, and as a person helping with C I think you all know my answer to that.
But, C's (and POSIX's and a lot of C brainchildren's and spiritual siblings's) very lax behavior when it comes to handling data to allow for a wide variety of implementations is going to keep biting us in the ass. Until we start modeling rigor in a way that cannot just be shrugged off, we're probably gonna have to keep eating crap on these issues again and again.