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

Steven D'Aprano steve at pearwood.info
Fri May 11 19:50:06 EDT 2018

On Fri, May 11, 2018 at 11:52:02AM -0700, Matt Arcidy wrote:

> Note Tim came up with a real metric:
> 2 * count(":=")/len(statement).
> It's objective.  it's just unclear if a higher score is better or worse.
> However, one could say "a Tim of .3 is considered too high" as a guideline.

I think Tim was making a joke about demanding objective measurements of 
subjective things.

Certainly he hasn't done any research or study to justify that metric. 
He just plucked the formula out of thin air.

Or at least no peer reviewed research.


More information about the Python-ideas mailing list