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

I tried growing a beard

Name: Anonymous 2006-10-14 5:27

...but I ended up taking my pants off too much.

Why do people use C when there's C++ anyway? C is so... unorganised.

Name: Anonymous 2006-10-14 15:15

This thread makes my head hurt.

C++ does have tangible benefits over C, and anyone who says otherwise simply hasn't written any applications of reasonable size. Language-level OO and forms of generic programming are incredible productivity boosts all around, and are, frankly, far safer than C's methods of managing data.

But, even then, to say that it's a clean design is a joke. It's a language where the standard library basically evolved out of "hey, this template stuff is kinda neat and it can all do this." All the way until the specifications for how templates work exploded into a horrible, horrible mess. And don't even get me started on the compiler error messages.

Memory management is easy peasy in C++ right up until you start dealing with references to data, or multiple things referencing something, or objects having to reference ach other. Then you get to make nightmarish messes of handles or have to resort to things like reference counting/garbage collection libraries, which can be a pain to implement and both have their drawbacks. Not to mention it has a tendency of making a mess of C++'s safe data management. While these can be pretty easy to maintain for a single-person project, as soon as you start adding other people to the mix it quickly becomes a nightmarish headache.

There's a reason most of my development these days avoids both C and C++ unless performance intensive code is absolutely mandatory.

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