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

C++ Sucks

Name: Anonymous 2007-09-10 14:45 ID:qfe8pgUF

C++ is a horrible language. It's made more horrible by the fact that a lot of substandard programmers use it, to the point where it's much much easier to generate total and utter crap with it. Quite frankly, even if the choice of C were to do *nothing* but keep the C++ programmers out, that in itself would be a huge reason to use C.

Name: Anonymous 2007-09-11 14:42 ID:Ps4Ztxph

>>27
Whut? I thought GCC already had most of the library side of C99 > down as of version 4.1.

Wrong.
http://gcc.gnu.org/c99status.html for more info.  That's with TC1 even, we're now on TC2.  There's lots of features and libs not in gcc/glibc.  Entire headers are missing in glibc's case.

And as far as C still being around, that might also be because everything else is too slow.. and written in C to begin with.

Shit, if all they did was get rid of null-terminated strings
and made functions like strncpy the only choice, I'd be happy.

strncpy is slow as shit, filling the rest of the alloted buffer in with 0's.  strlcpy is better if you have it.  Strncpy is just a waste of cycles.

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