[Python-ideas] Match statement brainstorm

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 26 01:41:00 EDT 2016


Ethan Furman wrote:
> `case blah blah as blah blah reads much better to me, and clearly says 
> "the stuff between 'case' and 'as' will now be known as the stuff 
> between 'as' and ':'".

But that separates the things being bound from the names
they're being bound to, so that you have to match them
up positionally. That hurts readability for me.

-- 
Greg


More information about the Python-ideas mailing list