19 Oct
2011
19 Oct
'11
9:43 a.m.
On 10/19/2011 2:44 AM, David Townshend wrote:
Regarding out of order execution: how is pep 3150 any worse than "x = y if z else w"?
A lot of people did not like that version of a conditional expression and argued against it. If it is used to justify other backwards constructs, I like it even less.
On the other hand, I have read countless scientific papers which define functions along the lines of "this phenomenon can be represented by the equation x=2sin(yz), where x is the natural frequency, y is the height of the giraffe and z is the number of penguins". Just saying...
That works once in a while, in a sentence. An important different is that assignment actions are different from equality (identity) statements. -- Terry Jan Reedy