[Zope-dev] [Vote] PEP308 voting began

Florent Guillaume fg@nuxeo.com
Fri, 7 Mar 2003 12:31:53 +0100


In article <3E65F34D.8020701@nipltd.com> you write:
> Guido van Rossum wrote:
> > 
> > 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.
> 
> I think not: is dubious and I'd find if-then-else way over the lines...

What?!! not: is very useful. How do you write alternatives without it?

<tal:if condition="foo"> .... </tal:if>
<tal:if condition="not:foo"> .... </tal:if>

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com