Hacker News new | ask | show | jobs
by pjmlp 3290 days ago
The difference being that C++ offers the language features and standard libraries to write safer code, while C....
1 comments

>C++

>Safer code

Not really. I mean, using vectors and strings is nice, but that's about it for safety. You'll still get a shit-ton of memory leaks which isn't great for long-running web apps.

It seems you haven't updated yourself on C++11, C++14, C++17 best practices.

If the code has any explicit new/delete or malloc/free, then something is wrong with the design.