[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] C/C++ and Python



Indeed.

However... one thing that people have told me why C is easier is this:
'With python you need to come up with smarty pants algorithms, whereas in C a simple brute force approach will work fast enough'.

Which is also good, if you then practice your good algorithms in python, and move them to C if needed later.  So that's related to your point I think - you can more easily use complex algorithms in python, and are forced to.

Each language is easier in its own ways.



On Wed, Apr 22, 2009 at 3:52 PM, Knapp <magick.crow@xxxxxxxxx> wrote:
For a pro programmer this python lack of speed is bad but for a
newbie, I think it can be really good as it forces him to think about
good Python code and good programming technique. I know it is what has
forced me to become Pythonic and grow out of my C code techniques that
I really learned while doing 6502 assembly and C64 basic back in the
80s.

--
Douglas E Knapp

Why do we live?