On 11/29/05, Medium <[EMAIL PROTECTED]> wrote: > > Robert Wittams wrote: > > >Medium wrote: > > > >>4. Can we change the template {{ variable }} to something like > >>${variable} I don't mind the {% %} but {%starttag%}{{var}}{%endtag%}...... > > > >You can assume this is not going to change, it would break too much for > >very little benefit. I guess you could monkey patch > >django.core.template.VARIABLE_TAG_START and > >django.core.template.VARIABLE_TAG_END if you wanted to. It would be kind > >of silly though. > > > You're right about the little benefit, but this syntax ${var} or $var is > very widely used in many template solutions across all languages and > provides a level of familiarity to most template users. Easier migration > and therefore wider adoption may prove a benefit which isn't as obvious now.
I'm sorry, but I can't help but think that a user who is skilled enough to be comfortable with a alternate but not-wildly-different syntax, yet who would face major difficulties adjusting to Django's syntax, has other problems than the syntax at hand. :-) FWIW, I actually find Django's template syntax easier to read and use than dollar-sign based syntax (which in turn feels alien and Perl-ish to me).