
July 12, 2020
10:19 a.m.
On 11/07/2020 12:20, Paul Sokolovsky wrote:
Actually, the whole argument in PEP 622 regarding "else:", that its placement is ambiguous sounds like a rather artificial write-off. Individual "case"'s are aligned together, but suddenly, it's unclear how to align the default case, introduced by "else"? Who in good faith would align it with "match"?
I would, if I'd used an "else" with a "for" recently. I would have a strong tendency to align the "else" with the "case" statements, but I can see how the other way around makes sense too. (I can't see how anyone likes the Linux case indentation style at all. It's horrible to read.) -- Rhodri James *-* Kynesim Ltd