True, but actually there are languages which help a lot in this... eg. C#, Rust, and lots of others. One more reason to replace C finally in the industry.