Range Operation pre-PEP

Rainer Deyke root at rainerdeyke.com
Thu May 10 11:19:25 EDT 2001


"Roman Suzi" <rnd at onego.ru> wrote in message
news:mailman.989469107.20291.python-list at python.org...
> On Wed, 9 May 2001, Rainer Deyke wrote:
> The problem is not to make range(len(seq)) shorter, but
> to make for loop easier to learn:
>
> right now FUNCTIONS and LISTS are needed to understand
> for loop. (Even recursion is "easier" with just FUNCTIONS
> to know ;-)

Making a language more complicated makes it harder to learn, not easier.
You don't need to teach 'def' before teaching the use of built-in functions.
Training wheels do not belong in a language which is used for non-learning
purposes.


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list