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

C++

Name: Anonymous 2009-02-08 17:37

Why is it bad?

Name: Anonymous 2009-02-09 6:49

>>10

>The standard libraries offer very poor functionalities >compared to other languages' runtimes and frameworks.

Compared to modern languages. Compare it to C and its standard library is massive. Also, its standard library is being given a massive boost, no pun intended, in C++0x.

>C++ doesn't enforce a single paradigm. Neither procedural nor >object-oriented paradigms are enforced, resulting in >unnecessary complication.

Change 'unncessary complication' to 'flexibility'.

>C++ supports 'goto'.

Which is very handy for getting out of nested loops. 'goto' isn't as evil as it's made out to be.

>What is 's', a function or a variable?
std::string s();

A variable with its constructor being called. Unnecessary parenthesis.
 
>No native Unicode support. You just can't write international >and portable programs.

wchar_t ?

>No native thread support!! You can't even write portable >multithreaded programs!!

You seem to have this misconception about what 'portable' is. Have you never heard of using preprocessor directives to make the correct OS API calls?

>This also makes impossible concatenating character array >strings, sometimes leading programmers to use horrible C >functions such as strcat.

Use std::string you fool, and its overloaded '+' operator.

>The exception system is not integrated with the platform: >dereferencing a NULL pointer will not throw a C++ exception.

Why the fuck would you dereference a NULL pointer unless you were a retarded monkey?



>>25
YHBT

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