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

Why c++ sucks dick

Name: Anonymous 2009-03-11 4:30

1) shitty compilers, shitty error messages.
-Try writing a program to insert a random character anywhere in a code file of 100 lines and see how long it takes you to track it down.  Super bonus points if the code file uses templates or is a template.  Fucking ridiculous.

2) shitty run time error messages.
-So you finally manage to fix your syntax errors, that must be the worse of it right? HAHAHAHA, good one.  You try running your program, it crashes.  No error message, no segmentation fault, nothing.  Any respectable language would tell you exactly what was wrong along with a line number and a stack trace right then and there, also handled in run time if need be(perhaps submitted as a bug report?).  In a c program, you have to compile it and run it again in debug mode.  Then maybe, if your lucky, you get a line number or a core dump.  If you are really lucky, the line number is in your file, and if you have a respectable IDE, like visual c++, you can mouse over the variables, etc.  Debugging c++ sucks ridiculous miles of dick compared to respectable languages.

3)Has terrible support for basic features
-Take for example one of the simplest data structures, a multi-dimensional array.  It has a million different uses, and yet god forbid you want to use one in c++.  You are almost always better off in c++ allocating a single dimensional array and then indexing into it like[row*rowlength+column] that, which becomes annoying as fuck when you have to type it over and over again, especially for higher dimensions. Fucking despicable.

4)Ridiculously slow compile times, even for unoptimized code.
-I'm sorry, there is just no excuse for this, whoever wrote the code for the compilers must have been fucking retarded, god fucking dam.

God Fucking Damn.

Name: Anonymous 2009-03-14 15:12

>>76 here
Oh, and one thing before I get raped to death. I do computational physics. The abstractions Sepples gives me are ESSENTIAL but they don't incur a measurable performance hit relative to other languages. Simulated dynamic binding is an example of a pattern which had saved me a considerable amount of development time without a significant performance hit. Functional programming with templates is another.

I'd really like a language which would give me those features with the performance of Sepples but without the pain.

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