Long integers, xrange and number theory

Erik Max Francis max at alcyone.com
Sat Dec 7 15:17:26 EST 2002


As a general point of language design, I think it's a characteristically
promising sign in Python that people are discussing whether or not

	for i in ...range(x, y):
	    ...

or

	i = x
	while i < y:
	    ...
	    i += 1

is preferable.  I say this because, as far as I'm concerned, they're
both perfectly readable and both completely reasonable.  It's a
promising sign in that the language is so clear and expressive that
people are actually in the position of arguing about which of two
already quite readable options is more readable :-).

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ My long is strong enough, you know / Strong enough to let you go
\__/ Xscape
    Official Omega page / http://www.alcyone.com/max/projects/omega/
 The official distribution page for the popular Roguelike, Omega.



More information about the Python-list mailing list