On 12/09/2010 04:45 PM, Jacques Le Roux wrote:
Yes I agree, why not use an idiomatic syntax when it exists?
I guess some persons prefer to have the same syntax everywhere or even
don't know the idiomatic syntax (or maybe in some cases simply C/P
snippets from Java)

The only reason I knew about {} in freemarker is because I saw it being used. I am finding all findByAnd calls, to deprecate older versions, so am getting a chance to look at tons of files.

As for using {} and [] in freemarker, and [:] and [] in groovy, the native syntax tends to be faster. Using classes in freemarker and groovy requires using reflection, which does end up being slower. Using native syntax all that indirection can be bypassed.

Reply via email to