As a budding game developer, I want to respond to your below email to
what I feel is a more accurate picture of the python language. I think
are a few additional points everyone really should consider before jumping
headfirst into C#.net as I tried to, especially when that jump can meet
some pretty spectacular failures.
I will proceed our statements and responses with initials.
TW: On the plus side Python is easy to learn, is cross-platform, and there
are a number of simple APIs like PyGame available to help you quickly get
and running with game programming. ... All of this makes Python look good
RS: This is exactly why Python *is* good, not just on the surface, but
deeper down. Imagine being able to program a game right out of the box
will reach not only the Windows community, but the Mac community as well.
How many of you out there are Mac users who lament the fact that you don't
have any games to play on your computers because they've all been designed
for windows? Python can fix that for you.
Additionally, because Python is easier to learn, it's also easier to
It's a given that programmers spend far more time reading their code than
they do writing it, and Python gives you the 1UP on that too. It's the
print "Hello world."
Even those of you who have never programmed a day in your life can see the
TW: On the down side Python is still a runtime language that requires an
interpreter or runtime environment to run.
RS: c# is compiled to MSIL, Microsoft Intermediate language. This is a
of Byte code. In other words, C# is also Interpreted. If you want more on
the subject, check this out:
TW: ... if you are thinking about creating high performance games that
to update 40 to 60 times a second Python is going to exicute and run very
slow. It was never designed to handle high performance applications like
Shades of Doom, Mysteries of the Ancients, etc. For something like that
really need a triditional language like C++ to get the most performance
of your CPU power and memory.
RS: Python was considered slow when it was first conceived nearly twenty
years ago, back when engineers flatly rejected the idea that we could ever
break the 1 gigahertz threshold on a computer's processor. Today our
processors run far upwards of 1.0GHZ, and they often do it on multiple
While I will not dispute that there are speed advantages to running
languages, I also think it's important to point out that our accessible
games will likely not reach the constraints of what Python is capable of
time in the near future. The boxing game I am currently developing updates
its calculations 250 times a second with absolutely no slow-down.
TW: Second, some of the APIs like PyGame aren't the best APIs available
game developers. PyGame is decent if you are going to produce a football
game like Jim's NFL, Star Trek Final Conflict, or something like that ...
RS: What about Sound RTS? That's far more advanced than either of those
TW: but if you are thinking of something like Shades of Doom or Mysteries
the Ancients forget it. ... If you want only keyboard access PyGame is
but if you want advanced Joystick support like force feedback and things
like that again no go. PyGame just doesn't have that kind of support yet.
RS: PyGame does have joystick support. It has mouse support as well. And
while the sound mixer may be lacking, there are other libraries that can
pick up the slack. Libraries like those found at
http://hg.qwitter-client.net. It's also worth pointing out that all of
libraries, like the Python language itself, are free to use. Developers
don't have to shell out any expense for third party libraries or the
development environment itself, for that matter.
TW: Finally, there is the issue of using Python as a springboard to other
programming languages. ... The problem is that you are going to have to
start over from scratch if you use Python and switch to Java, C#, C++,
whatever because you didn't learn much as it relates to other programming
languages. In fact, it has been my personal opinion for a long time Python
teaches programmers bad habits that make it difficult to adapt to other
languages later on.
RS: You're welcome to your personal opinion, but I want to give a few
for sake of balance:
Peter Norvig is an American computer scientist. He is currently the
of Research (formerly Director of Search Quality) at Google Inc. He
Several people have asked what programming language they should learn
There is no one answer, but consider these points:
Use your friends. When asked "what operating system should I use, Windows,
Unix, or Mac?", my answer is usually: "use whatever your friends use." The
advantage you get from learning from your friends will offset any
difference between OS, or between programming languages. Also consider
future friends: the community of programmers that you will be a part of if
you continue. Does your chosen language have a large growing community or
small dying one? Are there books, web sites, and online forums to get
answers from? Do you like the people in those forums?
Keep it simple. Programming languages such as C++ and Java are designed
professional development by large teams of experienced programmers who are
concerned about the run-time efficiency of their code. As a result, these
languages have complicated parts designed for these circumstances. You're
concerned with learning to program. You don't need that complication. You
want a language that was designed to be easy to learn and remember by a
single new programmer.
Play. Which way would you rather learn to play the piano: the normal,
interactive way, in which you hear each note as soon as you hit a key, or
"batch" mode, in which you only hear the notes after you finish a whole
song? Clearly, interactive mode makes learning easier for the piano, and
also for programming. Insist on a language with an interactive mode and
Given these criteria, my recommendations for a first programming language
would be Python or Scheme. But your circumstances may vary, and there are
other good choices. If your age is a single-digit, you might prefer Alice
Squeak (older learners might also enjoy these). The important thing is
you choose and get started.
With that in mind, here are 3 great articles
Teach Yourself Programming in Ten Years: http://norvig.com/21-days.html
Python as a First Language
Why Python is a great language for teaching beginners in introductory
programming classes http://www.stanford.edu/~pgbovine/python-teaching.htm
TW: If you want to be an amateur game developer go with Python. However,
ifyou want to be a pro, write really pro level games, then you have got to
take the bull by the horns and learn something a bit more advanced than
RS: I'm going to come out directly and say that the previous statement is
rather insulting. The language does not make the programmer, just as the
tools don't make the carpenter. If you want to be a pro and write
games, then learn to be a programmer and stick with what works for you.
There are a number of languages out there, each with their own advantages
and disadvantages. Saying that one can't be a professional developer
one learns language X is wrong on so many levels. It's like saying you
play chess properly if you can't speak Russian.
And if anyone still needs more proof that Python can be a viable language,
consider that Qwitter-client and the NVDA screen reader have both been
developed in that language.
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to
You can make changes or update your subscription via the web, at
All messages are archived and can be searched and read at
If you have any questions or concerns regarding the management of the
please send E-mail to gamers-ow...@audyssey.org.