Mail Archives: djgpp/1997/12/17/23:00:19
> Can someone break through all the hype for me. Which is the better
> language C or C++? I suppose I should qualify it.
>
> 1. Some people say that C is more efficient than C++ but does this
> still matter with the faster computers, eg 486s, Pentiums. How much
> more inefficient is it?
>
> 2. The claim is also that it reduces runtime bug hunting. However
> I've noticed that C++ is also more complex and executes code hidden
> behind the scenes. eg. constructors, destructors,
> operator-overloading. Are the runtime bugs just manifesting in
> different ways?
> Any comments?
I thought that the object oriented nature of C++ would give it a leg up on
the older version?
I haven't learned C yet but I've read a book on C++ and it emphisized the
introduction of new
statements allowing for more "bug free" programming by constraining it to
limit the uses.
a prime example is the "goto" statement.. From what I've read it should be
avoided as much as possible
- Raw text -