Comment by markasoftware
2 days ago
what you are suggesting is a form of type safety. There are still degrees of type safety even in C, and this bug resulted from deciding that backwards compatibility is more important than type safety, which I think we agree on.
And C has effectively deprecated bad APIs over the years. Just not this one.