3 ms·
"The traditional response to these kind of language imperfections is "better tests, better practices". Otherwise as, Unit Tests solve all problems." The securi
by pcwalton 14y ago
"The traditional response to these kind of language imperfections is "better tests, better practices". Otherwise as, Unit Tests solve all problems."
The security vulnerabilities found in all browser engines stemming from things like use-after-free suggest otherwise.
"For C++, someone would say to use some set of abstractions or static analysis tools that confers additional safety that isn't available in the out-of-the-box language."
It's really, really hard. The language works against you at all levels. Type systems are much easier ways to achieve the same result.