<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2018-04-13 11:54 GMT+02:00 Ryan Joseph <span dir="ltr"><<a href="mailto:ryan@thealchemistguild.com" target="_blank">ryan@thealchemistguild.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">These are great and one of the best features to be added in a while but that’s not the same. I mean a default constructor like Create() which the compiler automatically generates and takes as parameters the fields of the record. Making the same boiler plate constructors for records all the time is not so great.<br>
<br>
var<br>
  rec: TPoint;<br>
begin<br>
  rec := TPoint(x: 100, y: 100);<br></blockquote><div><br></div><div>Yes you are right. IIRC someone from core team has similar vision (Sven?), IMO good direction :). Something like this is also on my TODO list (but not with high priority).</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>