[gameprogrammer] Re: why Always C++

C++ is actually a stronger language, being able to allow you to code the
machine the closest you can to the metal without actually doing assembler.
Pascal, Object Pascal (the language that Delphi uses), is good, but was
really made to be easy to read by teachers (it's entirely academic), it's
less "powerful" in the sense that C++ can do anything that Object Pascal can
and somethings it can't.

Don't confuse the library with the language. This is a mistake that many
young programmers do. Don't like Swing? Don't drop Java, get a library that
is easier to use. In game programming all that thing about standards and
such is really not that important. In games you make a program, you finish
it however you can, compile it and give that binary away. You'll have to
mantain it for a very short time, only the most hardcore games get mantained
for more than two years (like Starcraft or such, but who really worries
about making the next Starcraft/WoW Blizz-like-awesome game?)

If you don't like how it works, get a new library. I reccomend SDL
personally, but NewIO works too, try drawing something with these and stick
to the one you like the most.

On 9/7/07, Roger D Vargas <luo_hei@xxxxxxxx> wrote:
>
>
>
> Yasser Gonzalez Soto escribió:
> > Why always C++ is choosed to gammeprogramming?
> Probably because generates smaller and faster executables, it has been
> proved to be a solid cross platform language, it has an standard (Delphi
> is controlled by Borland) and perhaps many more reasons. I dont have a
> formal academic formation, so I can only speak based on personal
> experience which may be influenced by subjetive factors.
> And, like Chrys said, sounds cool. It is like learning chinese or
> japanese.
> Believe me, probably we all have been there, nobody was born knowing C,
> except, perhaps Dennis Ritchie. It is a long process, it is as painful
> as a Jack Bauer's day and once you know it wont be a bed of roses
> neither, but  it is the optimal solution.
> >
> > Delphi is really is really easy for this. My point is, how you load and
> > show an image in C++?
> >
> > c++ code:
> >  HBITMAP hbitmap
> >  CDC cdc;
> >  CDC memDC;
> >  HBITMAP oldbitmap;
> Too many lines and totally unportable I guess. somebody posted a way to
> do it using sdl in just 2 lines. Using an sdl binding for Delphi would
> provide you the same quick way, but wont solve the portability and giant
> code problems.
> >
> >
> > Besides, that 'erase-screen-redraw-screen' business is troublesome
> It is the way it works, it has been this way since... well, I cant
> remember. The give-flowers-and-poems bussiness is troublesome, I would
> prefer the old method of hitting the girl in the head with a club and
> drag her to my cave.
>
> --
> http://dsgp.blogspot.com | Linux, programación, juegos
> Have no place I can be since I found Serenity
> But you can’t take the sky from me
>
>
> ______________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
>

Other related posts: