anlq100
Re:Chromium project finds that 70% of security defects are memory safe...
on Sunday May 24, 2020 @06:30AM (#23290579)
It has nothing to do with C style coding. The worst offenders are the latest and greatest features, as described brilliantly in this very thread:
https://news.ycombinator.com/item?id=23290030
I would argue that the closer you stay to C while using the good features of C++, the safer the code is.
And obviously well written and debugged C code is nearly always more robust than C++ code. But for ideological reasons most people here are unable to acknowledge that, perhaps because they cannot do it.