Hacker News new | ask | show | jobs
by fluoridation 3 days ago
Literally untrue. Two words: stronger typing.
1 comments

Memory corruption magnets like iterator invalidation, std::string_view or std::span are on a whole different level than the footguns that were inherited from C. At least with C style raw pointers you know that you have to be careful when you see one, in C++ the unsafety is lurking in hidden places sprinkled all over the stdlib and comes in all shapes and forms.