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: FrozenVoid 2009-03-11 4:31

Name: FrozenVoid 2009-03-11 4:31

Name: Anonymous 2009-03-11 4:36

>>1

Have you ever considered that you just suck?

Oh wait, IHBT

Name: Anonymous 2009-03-11 4:57

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.

that's pretty funny, since multi-dimensional arrays in c are pretty easy. good job, sepples.

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.

just don't use any templates. but then you've given up the only thing sepples has that c lacks.

Name: Anonymous 2009-03-11 11:42

>>3 has the right idea. C# works too, so long as you're ball-gagged and forced at gunpoint to code for Windows.

Basically C++ is on the fast track to being completely irrelevent.

Name: Anonymous 2009-03-11 16:02

>>5
Fucking wrong, go back to school you amateur.  I'm talking about DYNAMIC multi-dimensional arrays. Since assuming you know the dimensions of your array at compile time is ridiculously limiting. Fucking despicable.

Name: BJARNE 2009-03-11 16:04

>>7
How would you implement it then?

Name: Anonymous 2009-03-11 16:31

>>7
Use vectors, dickhead.

Name: Anonymous 2009-03-11 16:32

>>7
use dictors, vechead

Name: Anonymous 2009-03-11 16:33

>>10
A thin stream of piss shot directly down my leg.

Name: Anonymous 2009-03-11 16:46

>>11
you might want to see the doctor about that

Name: FrozenVoid 2009-03-11 16:49

Vectors are like linked-lists, their special structure introduces inefficiencies which are making them all slower then arrays.

______________________________________________
A State is absolute in the sense which I have in mind when it claims the right to a monopoly of all the force within the community, to make war, to make peace, to conscript life, to tax, to establish and dis-establish property, to define crime, to punish disobedience, to control education, to supervise the family, to regulate personal habits, and to censor opinions. The modern State claims all of these powers, and, in the matter of theory, there is no real difference in the size of the claim between communists, fascists, and democrats.

Name: Anonymous 2009-03-11 17:10

>>8
Either use a single array and treat it as a 2d array or boost::multi_array .  Either way the point still stands since they are both fucking terrible.

Name: Anonymous 2009-03-11 17:12

>>13
Vectors are like linked-lists
good one, FV! ;-)

Name: Anonymous 2009-03-11 17:14


>>15
good one, FV! ;-)
good one, FAGGOT-POST-SEEER

Name: Anonymous 2009-03-11 17:48

>>16

Good one, FAGGOT-FAGGOT-POST-REPLIER

Name: Anonymous 2009-03-11 18:14

>>17
StackOverflowError

Name: Anonymous 2009-03-11 18:24

>>17
Did you just imply my post is faggot?

Name: Anonymous 2009-03-11 18:32

my post is faggot!

Name: Anonymous 2009-03-11 19:12

fib8 get

Name: Anonymous 2009-03-11 19:14

6th discrete biprime get

Name: Anonymous 2009-03-11 19:20

fifth Sophie Germain prime and the fourth safe prime get

Name: Anonymous 2009-03-11 23:34

>>20

Your post is FOOP

Name: Anonymous 2009-03-11 23:37

first square of a wilson prime get

Name: Anonymous 2009-03-12 1:17

What the hell happened to >>13,15-19?

Name: Anonymous 2009-03-12 2:20

cobalt get

Name: Anonymous 2009-03-12 2:29

second perfect number get

Name: Anonymous 2009-03-12 6:17

Størmer get

Name: Anonymous 2009-03-12 11:14

for noobs that have trouble coding c++ (we've all benn there) I advise you compile every few lines so you can catch errors where they start.

Name: Anonymous 2009-03-12 11:17

>>30
Are there any C++ IDEs that compile automatically in the background and catch errors as you type, as Visual Studio does for VB.NET and C#?

Name: Anonymous 2009-03-12 11:23

>>31
Grab the C++ plugin for the eclipse.  It has incredibly zealous error checking system.  So much so it'll tell you your line of code is wrong because it's incomplete even if you're still typing it.

Name: Anonymous 2009-03-12 12:19

theres this guy that wrote a whole book on      using templates for stupid shit like template fibonacci functions and shit

basically, templates are like perl++

Name: Anonymous 2009-03-12 14:45

>>32
eclipse
DIE MONSTER! YOU DON'T BELONG IN THIS WORLD!

Name: Anonymous 2009-03-12 17:00

>>30
How retarded is it that C++ doesn't support interactive development? Very.

Name: Anonymous 2009-03-12 17:11

>>35

It's not C++ that doesn't support that crap, it's the IDE's that have been created for it you fucktard.

IHBT

Name: Anonymous 2009-03-12 17:20

>>33
I believe you are referring to Andrei Alexandrescu1, author of Modern C++ Design2 and he is a genius I masturbate to his image every time I compile my code.
                       
References:
[1] http://erdani.org/
[2] http://books.google.com/books?id=aJ1av7UFBPwC&dq=modern+C%2B%2B+design&printsec=frontcover&source=bn&hl=en&ei=IHy5ScOjJJLQsAPcjtAw&sa=X&oi=book_result&resnum=4&ct=result

Name: Anonymous 2009-03-12 17:31

>>36
While it is obviously possible to create an interactive Sepples hellenvironment, the fact that there is no professional-quality "liveSepples" in existence makes my statement true.

Name: Anonymous 2009-03-13 1:49

Much like Befunge, C++ is designed with the goal of being hard to compile and use.

Name: Anonymous 2009-03-13 3:46

>>39
Sepples, however, is infinitely more successful.

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