Mathematical
Silver Coder
Hey there.
As I'm sure every programmer on the planet is aware of, C++ is a widely hated language. One so widely hated that even one of the inventors of UNIX, Ken Thompson, spoke out about it. This was one of two quotes:
So, I've decided to create this thread for everyone to rant about C++. Criticize it all you want, but at the end of the day, it will always remain one of the most bloated programming-languages on Earth.
I would like to note however, that this thread is not intended for new C++ programmers to be deterred from learning it. C++ is a powerful and efficient language, if done right by a good programmer. It's only when either yourself or somebody else is bad at it, that will cause you to hate on it.
[UWSL]My Personal Opinion[/UWSL]
C++, in my own opinion, is a very scary language to me. I work with C, so I am able to transfer most of my knowledge of C, over to C++, since C++ descended from C. But, when you add in object-oriented programming, a confusing syntax, and a bunch of other unnecessary features into the mix, C++ turns into Frankenstein. I've seen the syntax of C++ and it's not pleasant on my eyes. I enjoy complexity, but not complexity that is extremely messy to work with.
Apparently, from what I've heard, C++ is also a lot slower than C. I have tested that before and if I do recall correctly, GCC compiled my C files faster than a C++ file - And that's only for the most basic of basic programs. I value speed when it comes to software and so C++ does not fit the bill for me. The only good thing though, is portability, which C++ successfully inherits from C.
As I said in the notice above, C++ can be extremely powerful and efficient if you write good code in it. But going back to the syntax, even good code can become messy and hard to read, especially in C++. Not even the syntax in a basic Hello World program in C++ makes sense to me. I mean, why can't I just use some kind of built-in print function, rather than having to write:
As much as I'm interested in C++, I'm definitely sticking with C. I much prefer speed and portability over power and portability, which C is and C++ isn't. Going back to the purpose of this thread, I'd like to hear your criticisms of C++. I've made mine so it's time to hear yours.
As I'm sure every programmer on the planet is aware of, C++ is a widely hated language. One so widely hated that even one of the inventors of UNIX, Ken Thompson, spoke out about it. This was one of two quotes:
Ken Thompson said:I would try out the [C++] language [at AT&T] as it was being developed and make comments on it. It was part of the work atmosphere there. And you'd write something and then the next day it wouldn't work because the language changed. It was very unstable for a very long period of time. At some point, I said, no, no more. In an interview I said exactly that, that I didn't use it because it wouldn't stay still for two days in a row. When Stroustrup read the interview he came screaming into my room about how I was undermining him and what I said mattered and I said it was a bad language.
So, I've decided to create this thread for everyone to rant about C++. Criticize it all you want, but at the end of the day, it will always remain one of the most bloated programming-languages on Earth.
I would like to note however, that this thread is not intended for new C++ programmers to be deterred from learning it. C++ is a powerful and efficient language, if done right by a good programmer. It's only when either yourself or somebody else is bad at it, that will cause you to hate on it.
[UWSL]My Personal Opinion[/UWSL]
C++, in my own opinion, is a very scary language to me. I work with C, so I am able to transfer most of my knowledge of C, over to C++, since C++ descended from C. But, when you add in object-oriented programming, a confusing syntax, and a bunch of other unnecessary features into the mix, C++ turns into Frankenstein. I've seen the syntax of C++ and it's not pleasant on my eyes. I enjoy complexity, but not complexity that is extremely messy to work with.
Apparently, from what I've heard, C++ is also a lot slower than C. I have tested that before and if I do recall correctly, GCC compiled my C files faster than a C++ file - And that's only for the most basic of basic programs. I value speed when it comes to software and so C++ does not fit the bill for me. The only good thing though, is portability, which C++ successfully inherits from C.
As I said in the notice above, C++ can be extremely powerful and efficient if you write good code in it. But going back to the syntax, even good code can become messy and hard to read, especially in C++. Not even the syntax in a basic Hello World program in C++ makes sense to me. I mean, why can't I just use some kind of built-in print function, rather than having to write:
std::cout << "..."
?As much as I'm interested in C++, I'm definitely sticking with C. I much prefer speed and portability over power and portability, which C is and C++ isn't. Going back to the purpose of this thread, I'd like to hear your criticisms of C++. I've made mine so it's time to hear yours.