<div dir="ltr"><div>The JEP looks really promising. However I am wondering if there will be a separate JEP for creating new records from scratch with similar syntax.</div><div><br></div><div>The current JEP states that its goals are to enable creating records from an existing record and for that it seems sufficient. But I would also love to be able to create new records from scratch using the same syntax. Something like:<br></div><div><br></div><div>var circle = new Circle with {</div><div>  radius = 0.5f;</div><div>  center = new Center with {</div><div>    x = 0;</div><div>    y = -1;</div><div>    z = 8;<br></div><div>  };<br></div><div>};</div><div><br></div><div>Originally I had asked Brian Goetz about record literals and they seemed like a possibility but withers seem like a more general feature so I am hoping something like this would be supported in the future.<br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards<br></div><div>Swaranga Sarma<br></div></div></div></div></div></div>