[Python-ideas] Where-statement (Proposal for function expressions)

Ben Finney ben+python at benfinney.id.au
Fri Jul 17 14:12:40 CEST 2009


David Stanek <dstanek at dstanek.com> writes:

> This thread is a little confusing to me. I am failing to see how the
> where block makes anything clearer.

+1. I haven't found that any of the examples improve the clarity of the
code over using a named function.

-- 
 \        “If I melt dry ice, can I swim without getting wet?” —Steven |
  `\                                                            Wright |
_o__)                                                                  |
Ben Finney




More information about the Python-ideas mailing list