[Python-ideas] Inline assignments using "given" clauses

Rhodri James rhodri at kynesim.co.uk
Fri May 11 09:34:56 EDT 2018


On 11/05/18 14:25, Jacco van Dorp wrote:
> I actually have to mentally parse the entire line to get what the
> check will work. This, along with what Chris said about order of
> operations, reduce the readability of the "given" version.

You say "I had to parse the entire line..."   I hear "I had to read what 
I was making a snap decision on."  Sounds like a win :-)

-- 
Rhodri James *-* Kynesim Ltd


More information about the Python-ideas mailing list