Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

LUA or PyGame

Name: Anonymous 2011-11-24 13:26

I was wondering, me and my buds wanna start making a game and we wondering which language (LUA or Pygame) we should use for that. Any recommendations or information about these 2?

Name: Anonymous 2011-11-24 14:20

>>14
The only benefit indices starting at one have is to keep beginners from having to differentiate between ``first element'' and ``element one''. Most programmers learn to work with indices starting at zero in a matter of days, at most.
Also, starting with zero, it makes it easier to program. Just consider a for loop, wouldn't using something like for (i=1; i<=length; i++) to iterate over all of it look a bit strange? Or using i<=length to check if i is not out of bounds?
There's also the compatibility with more or less all the other languages. Is a tiny benefit for the absolute beginners worth it?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List