Nathan Bubna wrote:
Claude Brisson said:
...

Remark : the current map syntax is not ok, since there is no way to

disinguish an empty map and an empty array


current syntax : #set( $map = ["key1" : " value1", $key2 : $value2] )

I thought we were going to use { } (how do you call them in english ?

"curly braces" or something no ?)

Yup, that's it.


d'oh. beat me to the question...

anyway, i remember discussing this concern, but i can't remember a conclusion.
{} sounds fine to me.

I'm in favor of the Map patch, but I also prefer the curly braces (Python-esque!). Square braces could be confused with the list notation.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to