Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-406

Improved Syntax for Maps and Collections

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None

      Description

      I would like to see some syntatic sugar for Maps and Collections and perhaps other Objects too.
      (I have read that there will be a syntax for map literals in 1.5, that's a first step.)

      I want to have something like in groovy: http://groovy.codehaus.org/Collections
      Scroll down to "Slicing with the subscript operator".

      PS: Please do never implement this terrible confusing groovy map bean syntax, where "map.foo" ist equivalent to "map.get("foo")".

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jogi Jörg Gottschling
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: