Why C++ is vastly superior to C
warp.povusers.org
Why C++ is vastly superior to C
1–10 of 123 posts
Re: Why C++ is vastly superior to C
#2For some things, C++ is better than C. For some things Lisp is better than either, and for yet other things, Python is better than them all.
Why are people so insistent on declaring their view is absolutely right, with no arguments, everyone else is wrong, and that one language will rule them all?
Trust me. For some things I do, C is vastly superior to C++, but I'm not going to try to convince everyone that C is better than C++ (or anything else) for everything that anyone wants to do.
That would just make me look stupid.
Re: Why C++ is vastly superior to C
#3If I need to something higher level there are plenty of choices of that already, and C is a great language for extending applications done in a higher level language.
I think that the author has some good points. but I think both languages have the places where they excel.
To say that one is "vastly superior" to the other is a mistake. If C++ was really "vastly superior" to C then why are so many people still using C and using it productively?
Re: Why C++ is vastly superior to C
#4Re: Why C++ is vastly superior to C
#5For some things, C++ is better than C. For some things Lisp is better than either, and for yet other things, Python is better than them all. Why are people so insistent on declaring their view is absolutely right, with no arguments, everyone else is wrong, and that one language will rule them all? Trust me. For some things I do, C is vastly superior to C++, but I'm not going to try to convince everyone that C is bett…
This article is more "why C++ makes this particular program easier to write" and is in no way any proof that C++ is better than C.
Re: Why C++ is vastly superior to C
#6 $ cat > foo.c
#include
int main(int argc, char**argv){
puts("hello world");
return 0;
}
^D
$ cat > foo.cxx
#include
int main(int argc, char**argv){
std::cout Re: Why C++ is vastly superior to C
#7Re: Why C++ is vastly superior to C
#8Why C is vastly superior to C++: $ cat > foo.c #include int main(int argc, char**argv){ puts("hello world"); return 0; } ^D $ cat > foo.cxx #include int main(int argc, char**argv){ std::cout
Re: Why C++ is vastly superior to C
#9For some things, C++ is better than C. For some things Lisp is better than either, and for yet other things, Python is better than them all. Why are people so insistent on declaring their view is absolutely right, with no arguments, everyone else is wrong, and that one language will rule them all? Trust me. For some things I do, C is vastly superior to C++, but I'm not going to try to convince everyone that C is bett…
If you have an example of C being a better fit for a problem than C++, feel free to share it.
Re: Why C++ is vastly superior to C
#10Also I do not buy the argument that you do not have to follow coding conventions in C++ or that explicitly freeing memory is a bad thing. Also comparing the number of lines of code to determine the "best" language is childish. By that logic the language with the largest std. lib is the best.