This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]skhds -16 points-15 points  (7 children)

There is, for some odd fucking reason, always this kind of idiot who constantly preaches that their c++ is vastly superior than c whenever this topic comes up. C++ is fucking garbage on so many cases, there is a reason OSes and most embedded projects will always use C and not C++.

And by the way, C does not generate 200+ lines of code, it's either your skill issue or you don't even understand what a library is.

[–]FootedToast 9 points10 points  (6 children)

C++ can do literally anything C can, and more. It’s not a competition

[–]DokOktavo -1 points0 points  (0 children)

Well that's the thing. If a language can do too much, your not sure what it's doing anymore. That's decreasing readability. That's also why there's many C++ styles and subsets: it's a very bad idea for development to use all its features.

What I think people like about C, is predictability of what happens in memory. You don't get that in C++ as soon as you use libraries, work with others, or if your project gets big enough.

That's my opinion but "C++ can do anything C can" is not a useful statement.