[Templates] CHOMP feature request
Andy Wardley
abw@wardley.org
Thu, 16 Feb 2006 19:09:56 +0000
Larry Leszczynski wrote:
> Not sure if this would complicate parsing (because it's 2 characters
> long), but what about '--' for greedy chomp?
I thought about that. Then I tried typing it:
[%-- foo --%]
[%~ foo ~%]
I thought the '--' made it look too long, whereas the '~' snuggled in
nicely.
Also, it might interfere with a future --foo / foo-- decrement operator:
[% --foo %] vs [%-- foo %] vs [%--foo%]
[% foo-- %] vs [% foo --%] vs [%foo--%]
But rather than making a unilateral decision on such an important matter,
I took the scores from 12 judges, had the computer randomly discard 3 of
them, summed the remaining 9 scores, multiplied the convenience factor by
the inconvenience ratio, added the addition character compensation correction
amount and the result was...
...the '~' won. :-)
A
(http://www.stat.yale.edu/~jay/EC2006/ for those who haven't got a clue
why I'm talking about all those judges)