29 Nov
2017
29 Nov
'17
1:11 p.m.
29.11.17 15:01, Stephan Houben пише:
What about a more general:
A if
B else C which would allow
A if is not None else C
but also e.g.
A if >= 1 else 0
This look the most "natural" to me. I.e. the least "unnatural". If we
even will introduce a new special syntax I will prefer this syntax.
The only disadvantage is that this will prevent introducing "angular
parenthesis" in future: A if