defining the behavior of zip(it, it) (WAS: Converting a flat list...)

Antoon Pardon apardon at forel.vub.ac.be
Thu Nov 24 03:24:18 EST 2005


Op 2005-11-24, Fredrik Lundh schreef <fredrik at pythonware.com>:
> rurpy at yahoo.com wrote:
>
>> > the thing that's in favour is "then-if-else", not "if-then-else".
>>
>> Sorry if I confused you, I though it was clear that I meant the
>> concept, not a specific syntactical implementation.
>
> yup, but if you care readability about, the words order appear in
> would to seem matter too.

Well I do wonder what would be more readable.

1) That the constructs are consistent within the (programming) languague.

2) That some constructs resemble english.


(2) May make some constructs more readable for the beginners, but
IMO (1) makes for more readabiliy over the long term.

-- 
Antoon Pardon




More information about the Python-list mailing list