Re: [dev] [OT] What's wrong with C++?

From: Paolo <lordkrandel_AT_gmail.com>
Date: Fri, 10 Sep 2010 11:19:00 -0700 (PDT)

Uriel has a page on that, you can find some link there.
http://harmful.cat-v.org/software/c++/

C++ inserts a serie of unneeded complexity to the straightforwardness of C.

If you think object-orientedly, you sure imagine a lot of Player objects each with a
Position object (x,y,z) referenced to a Scenario object.

Lists also exist in C. You could write instead a C program which is a PlayerManager,
which spawns "n" Player threads, and communicates with another program which is a Scenario.
This would remove the need of a big monolithic program and would add to modularity.
You could spawn every Player routine from a PlayerManager program which would
communicate with a Scenario program which represent the game's "Universe".

Let's also add that an addictive game doesn't have to have full blown graphics,
think about puzzle games, arcades, Pet Society, Farmville, Ogame.
Roleplaying games mainly involved text for some decade, and we could mention Crobots.

Why program in C++ when you can do it in C, making the program simpler and better?

"GObject"-like things is about thinking objects in a non OO language. It's just bad imho.

C++ is understood fully by people here (not talking about myself), but people do have
their opinion, likes and dislikes.

-------
Wyrmskull <lordkrandel_AT_gmail.com>
Received on Fri Sep 10 2010 - 20:19:00 CEST

This archive was generated by hypermail 2.2.0 : Fri Sep 10 2010 - 20:24:02 CEST