3 ms·
Any solution that boils down to just get everyone who writes code you have to interact with to always write the code correctly is doomed to failure. Rust tries
by zaphar 9y ago
Any solution that boils down to just get everyone who writes code you have to interact with to always write the code correctly is doomed to failure.
Rust tries to make it impossible in the general cases to do the wrong thing. And gives you an unsafe escape hatch for when you need to do something the compiler won't allow. The result is vastly safer code because the compiler guards against the most typical human failings.