http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:



Um, uh uh. For big projects C++ is horrible, Ever heard of operator
overloading. Keeping track of all them for a module or two is 'ok'. But for
a couple hundred? C is a simply superior language. C++ is bulky and contains
numerous faults. One of the faults includes memory leaks. Who ever heard of
a memmory leak in C? Also C++ produces apps about 2 times as big, half as
fast, in two times the time to develop. Don't make me argue further, there
are so many more arguments.

----- Original Message -----
From: Ron Nanko <RonNanko@gm-squared.de>
To: <gameprogrammer@gameprogrammer.com>
Sent: Thursday, December 09, 1999 6:28 PM
Subject: Re:


> For support C++ is better, but C is a better language overall. Go to
> http://www.program.com/humor/bjarne.html and you will know why. By the
way,
> The article is not just for humor, it is 100% true.
> > I'm totally agree with you!
> >
> > Just for support. C++ is better, that's all.

First of all, C++ contains all the advantages C has. It has some additions
that, if used without thinking about it, can slow things down, yes. However,
a coder who knows about the benefits of C++ will barely want to miss them
again. You mentioned "support" as a C++ advantage. It definately is. You've
got a huge project? You should choose C++.

Modern C++ precompilers create very efficient C output, so what's the point
in using C? Speed? Come on, for time-critical parts assembler's still the
number one choice. And I guess you won't argue about that.

As far as the original message was concerned, I'd advise you to learn C++
right away and don't care about C whatsoever. On the one hand you'll have
the advantage of not always falling back into the procedural way of thinking
and on the other hand you'll have reusable code, that is easy maintain and
"support". The traps (and there _are_ quite a few) which come along with C++
won't be noticable in your first attempts on writing games whatsoever, and
the tricks from the game programming gurus to avoid these traps can easily
be found on the internet.

The only book you should ever need to get started is called "C++ Primer
Plus" by Stephan Prata. That book's awesome, and perhaps some of the C++
enemies should take a look in it to fnd out about the true benefits of this
great language.

Sincerly,
Ron Nanko
chief coder, gm²

Ceterum censeo Carthaginem esse delendam.

Ron Nanko, department of computer science, university of Kiel, Germany
contact me at rna@informatik.uni-kiel.de (university), ICQ #24926976,
RonNanko@gm-squared.de (private), or http://www.RonNanko.de
Visit my game development company at http://www.gm-squared.de






=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html


=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html




  • Follow-Ups:
    • Re:
      • From: "Fulbert Boussaton" <f.boussaton@heliovisionsproductions.fr>
    • RE:
      • From: chrisk@prototypeinc.com (Chris K.)
    • Re:
      • From: Fernando Salas <fsalas@fibertel.com.ar>
    • Re:
      • From: Marc Hernandez <marc@ias.jb.com>
    • Re:
      • From: Robert Chafer <rob@silverfrost.com>
  • References:
    • RE:
      • From: "Idahosa I. Edokpayi" <stealth_ninja@geocities.com>
    • Re:
      • From: "Fulbert Boussaton" <f.boussaton@heliovisionsproductions.fr>
    • Re:
      • From: dreyhau@banet.net
    • Re:
      • From: "Ron Nanko" <RonNanko@gm-squared.de>