On 3/14/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > On 3/13/06, Jonathan Daugherty <[EMAIL PROTECTED]> wrote: > > Maybe implement generic support for /* .. */ in template tags?
> A definite no on that one -- it's too programmerish. hugo wrote: > >{% endif %}{# endif start_process #} > > Ugh, no. Sorry, but I am definitely -1 on this. > > If we want something useful, go for the {% if something %} ... {% endif > something %} where the "something" on the endif is optional and if it > is given, must match the corresponding if. Everything else is just > silly, because it's either just inline comments (which were shot down > often enough that discussion about it should stop now) or irritating > (in the case of not-checked stuff after endif). So I found this thread: http://groups.google.com/group/django-developers/msg/55d74c184ccf247f It's not clear to me that inline comments were outright rejected here. Perhaps I missed some other discussion but to my biased eye the general concensus was favourable. If inline comments were outright rejected it is not clear to me why. Unless these kinds of decisions are documented and easily searchable I sense these same debates will recur again and again. DEPs anyone? As far as I can tell the primary objection to inline comments seems to be on aesthetic grounds. I find this hard to understand because just about every language from python to HTML to CSS has language-specific short comment tags. In fact CSS comment tags are the very programmerish "/* */"! I asked the designer that I work with. He likes the idea of {# #} because he finds the existing comment tags too verbose. He pointed out that a common idiom in HTML is: <div id="somediv"> ...vast amounts of content... </div><!-- END #somediv --> I would be interested to hear Wilson's take on this one. Kieran --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---