Tiles-Velocity tool APIis a bit verbose
---------------------------------------

                 Key: TILES-491
                 URL: https://issues.apache.org/struts/browse/TILES-491
             Project: Tiles
          Issue Type: Improvement
          Components: tiles-velocity
    Affects Versions: 2.2.x
            Reporter: Nathan Bubna
            Priority: Trivial


that is, the method names are verbose, not the size or complexity of the API.
specifically, 9 of 11 methods include the word 'Attribute'.
Personally, i would leave that to be implied, especially with things
like renderAttribute(Attribute) or cloneAttribute(Attribute) where it
is clearly redundant, and shrinking getAttribute(String) to
get(String) would enable the much cleaner $tiles.myAttrKey syntax.

granted, the explicitness of the current method names offers extra
mental clarity/simplicity.  i know enough people who prefer that to
short and/or overloaded method names, that i'm not dogmatic.  i just
can't help making comments sometimes. :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to