Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ is safer than C

Name: Anonymous 2019-01-10 7:01

this is the often said sentiment, because C++ has more complex type/class system
In reality, bugs in C++ are hidden behind layers of abstraction while C bugs are in plain sight. Fixing complex C++ code is far harder and takes much more time to properly debug. The Stroutstrup copypasta is true.
Just look at any medium size C++ project and you'll see its filled with bugs and bug reports that developers can't deal with it. C projects in constrast fix everything really fast because the bugs are obvious "in-you-face" violations of logic and common sense.

Name: Anonymous 2019-01-11 12:01

C++ allows smart pointers, which is basically reference counting garbage collection. It is very slow, but indeed makes code safer. C++ also has expandable arrays and index checking, which reduces buffer overflow bugs to just logged crashes.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List