[Python-ideas] Statements vs Expressions... why?

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 15 03:00:30 CEST 2008

Cliff Wells wrote:

> '-'.join(
>     for j in ( for J in I: YIELD J ): YIELD j  
> )

Noooooo..... this is getting worse and worse.

You seem to be thinking of syntax issues as though
they were purely technical puzzles. The're not --
they're at least as much human-factors issues.

> Certainly more clear and concise, but since (luckily for me this time)
> we're maintaining backwards-compatibility, that form would still be
> available.

But if you keep all the existing syntax as well,
you haven't simplified anything.


More information about the Python-ideas mailing list