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

C vs. C++

Name: Anonymous 2012-02-22 8:39

C++ is
- more type safe
- safer memory management (unique_ptr, smart_ptr, weak_ptr)
- classes with destructors (RAII is nice)
- generic containers in standard library (no need to implement dynamic array for every other project)

C is
- cleaner
- simpler and easier to learn


C is nice for beginners, but real programmers use C++.

Name: Anonymous 2012-02-22 13:37

>>11
>>12
He wanted it to replace C, not just to be a new/better language. If he had less shame and more ENTERPRISE, he would've called it "C 2.0" or maybe just "C."

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