28 Sep 2002 bytesplit   » (Journeyer)

At the moment, I am at a standstill in programming. I *still* don't have any projects completed. The positive thing is that I am not the only one who has experienced this. I am tiring of the scripting languages.

My choices for compiled programming languages have come down to C, C++ and Java. Java is too slow, but a beautiful language. C++ is very complex, especially so for beginner programmers, but a very powerful language. C is a very fast language, but lacks the OOP features (and I'm sure many other things I don't know about).

So, which one? Right now I need something fun to work on. I thought about trying to write a Tetris game, which would be my first game ever written. I can imagine the playing field as being one huge 2D array, and simply looping through the array on the dropping of each block, terminating the program when the very top/middle block is already full (thus meaning no more blocks can be dropped).

Which language would be best for learning how to program this game in? With the previous link I posted, that site does seem to be dead. The author highly recommends starting to write games in the C language, but if you listen to the many opinions out there, many say that C++ is the better language to start out with, because it contains all of C's features and more.

Please, some of the better writers and more experienced programmers on this site, put up an article about this very thing. I'm not interested in hearing "whatever suits the purpose", because if I knew that answer I wouldn't be asking. Besides, general statements are just that.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!