> There's nothing in C that prevents you from doing this either
Yet these errors consistently happen in C projects of various sizes.
Yet these errors consistently happen in C projects of various sizes.
Yes, Rust would eliminate this error, but you can still do it "safer" in C (but you have to give up certain things to do it that way).
At the moment rust is used for some very marginal and unimportant leaf projects.