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

C++ hatred

Name: Anonymous 2012-01-08 12:26

Why is C++ hated so much here in /prog/? Many good software are written in C++.

I'm aware that there are some problems in the language and it is considered "hard" to master it, but why do so many people hate it? What harm has it done?

Software can be written much quicker when using some scripting languages like Python. Software can be writte slightly quicker when using some managed language like Java. But when using those languages, the resulting program will require more resources to run. So there is place for C++.

For example, I bet the web browser of 99% people browsing /prog/ is written in C++. It's not perfect language, but it is the best language for complex program with relatively small CPU and RAM requirements.

Name: Anonymous 2012-01-08 13:06

>>1
Many good software are written in C++.
They might be as well written in Brainfuck. That doesn't make Brainfuck a good language.
I'm aware that there are some problems in the language
Too many problems.
and it is considered "hard" to master it,
It's not hard to master, it's unnecessarily complex.
but why do so many people hate it? What harm has it done?
The same harm COBOL, BASIC and FORTRAN did: it hinders the development and use of better languages.
But when using those languages, the resulting program will require more resources to run. So there is place for C++.
We need better languages for system programming, C++ is not one of them. Until recently, nobody cared about making better system PLs, because if they did, they would just be discarded for being ``not C++''. And this is part of the harm it has done, along with C, COBOL, FORTRAN.
For example, I bet the web browser of 99% people browsing /prog/ is written in C++.
Again, it might be as well written in COBOL, it doesn't make COBOL any better.

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