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

Improved Syntax for Maps and Collections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Engine
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: