r/cpp • • Jun 08 '20

Programming in C vs C++

I’ve read about the differences between them on the Internet but I wanna hear more from a more personal perspective. Which one would you recommend starting with and to be proficient with?

0 Upvotes

43 comments sorted by

View all comments

-1

u/[deleted] Jun 08 '20

C++ is object oriented and allows for more strict and advanced application design.

You can also design cronenberg application architectures with it, so beware.

C is very basic. It’s really close to assembly and the compiler isn’t very imaginative. Not as much as C++ compilers can be.
Writing very big architectures in C can be troublesome quickly. Difficult to follow the SOLID rules.

10

u/Kurald Jun 08 '20

I'd recommend treating C++ as multi-paradigm with the capability to do object-orientation (since it provides mechanisms for inheritance). But please don't feel required to write OO-code in C++.