title: Groovy initialization of array of objects
body: <p>I am looking for the most compact syntax to initialize an array of objects in Groovy.
  Given:</p>
  
  <pre><code>class Program {
      String id = ""
      String title = ""
      String genre = ""   
  }
  </code></pre>
  
  <p>I am currently doing this:</p>
  
  <pre><code>Program[] programs = [
      new Program([id:"prog1", title:"CSI", genre:"Drama"]),
      new Program([id:"prog2", title:"NCIS", genre:"Drama"]),
      new Program([id:"prog3", title:"Criminal Minds", genre:"Crime drama"]), 
  ] as Program[]
  </code></pre>
  
  <p>I seem to recall that in Java there is a more compact syntax, possibly not requiring to use the new keyword. What is the most compact Groovy syntax to accomplish this?</p>