[Zope3-dev] ? vs $
Lalo Martins
lalo@laranja.org
Thu, 13 Jun 2002 18:29:38 -0300
On Thu, Jun 13, 2002 at 10:13:39PM +0100, Steve Alexander wrote:
>
> I have seen code that uses python:path('foo/%s/baz' % bar) rather than
> foo/?bar/baz. I don't think the use of ? as an interpolation character
> in path expressions is widely known. Which makes the case for switching
> to $ all the more compelling: I'm sure there's not much legacy code to
> change :-)
I think this is a learning curve problem, as there are ? % and $. If python
expressions are already moving from % to $ somewhere in the vague future,
then I think path expressions should make the move too.
[]s,
|alo
+----
--
It doesn't bother me that people say things like
"you'll never get anywhere with this attitude".
In a few decades, it will make a good paragraph
in my biography. You know, for a laugh.
--
http://www.laranja.org/ mailto:lalo@laranja.org
pgp key: http://www.laranja.org/pessoal/pgp
Eu jogo RPG! (I play RPG) http://www.eujogorpg.com.br/
Python Foundry Guide http://www.sf.net/foundry/python-foundry/