5 Mar
2003
5 Mar
'03
7:14 p.m.
Guido van Rossum wrote at 2003-3-4 15:23 -0500:
.... if-then-else expression ....
IMO TALES should solve this for itself by introducing an if/then/else expression form rather than depending on Python. If you can have a "not:.." expression, surely you can have an "if:..:then:..:else:.." expression.
Hopefully, we will get it in Python. There, it is useful, too, being clearer (more explicit) than "cond and expr1 or expr2" and less error prone... Dieter