CS student here. C++ is taught as the step-child of C that never had the marketing of Java; and if implemented properly IS the best choice for a project looking for speed and scale.
So why so much hate? Are my professors just pundits from the 80's still mad about Java?
Name:
Anonymous2012-09-09 15:25
C++ is used in a ton of things, so I don't know what you're talking about.
Name:
Anonymous2012-09-09 15:28
Who hates a programming language?
Some just prefers something. But that doesn't mean they hate it.
C++ is a widely used programming language. There is no hate here.
Are my professors just pundits from the 80's still mad about Java?
yup, that pretty much sums it up.
C++ is a great language but for the most part it is widely abused. I guess the same goes for Java in my opinion.
C++ has some really mind boggling features, the amount of shit you can do in it is literally unique. Java was just a better fit for the weekday 9 to 5 programmers.
I'd rather maintain an old java project than an old C++ project, especially if it was written by amateurs.
Plain simple it's used because of native operating systems interface and compilers which generate fast code.
For performant code write code in the same language as the OS. Don't like it, write your own OS, or use a language which has it's own code generator and make it an embedded project.
Oops I forgot there are no complete code generators which don't rely on some form of C for embedded systems.
C++ has templates, which can be leveraged to improve productivity more than any other single feature in other languages. C++ is not for everyone. It's for writing large and important software. Toy programmers (see: GNU) shirk C++ because they never write important software that is obstructed by the limits of simplistic languages. Maybe they'd be better off using some dumbed down language like FIOC.
>>13
Last time I checked C++ was the grand master of NIH basic classes for data types like strings. Its so bad every library I know of have some sort of ``STL-mode'' #define.