velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning P. Schmiedehausen" <>
Subject Re: Language Lawyer question (was: Re: syntax issue)
Date Thu, 25 Aug 2005 21:30:05 GMT
"Tim Colson \(tcolson\)" <> writes:

>> (I've previously argued we should make the entire language 
>> case-insensitive). 
>Interesting... I could go +1 for that. 

Why? How about a hash map that contains "foo", "Foo", "FOO" and
"foO". What would

#foreach ($i in $hashmap.keys())
  $i --> $hashmap.get($i)

result in?

Even if Velocity should be simple for template writers, it still
interfaces with business logic. And here, case-sensititivy counts a
lot. How about a bean that contains

String getXML()


String getXml() 

methods? Yes, I've seen such code. 

I'd -0 for case insensitivity. I don't see good reasons for it and I
can imagine a lot of problems stemming from it.


Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH        +49 9131 50 654 0

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

		      4 - 8 - 15 - 16 - 23 - 42

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message