is there any principle when writing python function
rantingrick
rantingrick at gmail.com
Tue Aug 23 16:22:46 EDT 2011
On Aug 23, 1:29 pm, Terry Reedy <tjre... at udel.edu> wrote:
> In terms of different functions performed (see my previous post), I see
> attribute lookup
> assignment
> enumerate
> sequence unpacking
> for-looping
> if-conditioning
> lower
> startswith
> return
> That is 9, which is enough.
attribute lookup -> inspection
assignment -> ditto
enumerate -> enumeration
sequence unpacking -> parallel assignment
for-looping -> cycling
if-conditioning -> logic
lower -> mutation (don't try to argue!)
startswith -> boolean-logic
return -> exiting (although all exits require an entrance!)
omitted: documenting, referencing, -presumptuousness-
pedantic-ly yours, rr
;-)
More information about the Python-list
mailing list