Re: changes to template variable syntax

"Will Guaraldi" <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
On 9/6/07, Asheesh Laroia <[email protected]> wrote:
> On Thu, 6 Sep 2007, Will Guaraldi wrote:
> > Now we handle all that as well as:
> >
> >   $(foo)
> >   $(foo::bar)
>
> Isn't ${foo} more standard?  That's what Zope Page Templates and bash use,
> iirc.
>
> -- Asheesh.

I've seen both syntaxes and I'm not sure one is more standard over the
other.  Python uses %(...) for string formatting.

Which one do people prefer?  Parentheses or curly braces?  We could
support both, but I'm not sure there's a good reason to do that.

I myself don't have a preference.

/will

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.