On Apr 7, 2009, at 13:06 , Nathan Bubna wrote:
While it would (and in fact, does) work, it just feels horribly
wrong,
especially when we have another engine hooked into the system to
allow
custom rule writing. Am I just being overly sensitive to the use of
Velocity here, or are there any other downfalls that this
implementation may
have that we should be aware of.
that would feel quite wrong to me too. Velocity is for templates, not
scripting. Using VTL as a scripting language is like trying to pound
in a nail with a screwdriver. It might work, but it ain't a good way
to get the job done.
Especially when there are such great solutions for this type of thing
available on the JVM, the big ones being Jython, JRuby, Rhino,
Groovy... In all of these
foo.name = "bar"
Does the same thing, which is cleaner then
#set($foo.name = "bar")
However, I realize these decisions are more often political then
technical, so good luck to you!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]