<div dir="ltr">They observably <i>are</i> good though, now that they've been implemented, especially in combination with management operators. These are features that objectively make FPC better. I'm unsure what the original concern could have even possibly been, other than some vague notion of "well, records didn't have methods before, so they shouldn't now!".<div><br></div><div>Classes are unsuitable performance-wise for many use cases, and TP objects lack important features such as variant parts. Advanced records are a great lightweight in-between point.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 17, 2018 at 4:15 PM, Sven Barth via fpc-pascal <span dir="ltr"><<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Am 17.07.2018 um 20:00 schrieb Ryan Joseph:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Jul 17, 2018, at 11:27 AM, Jim Lee <<a href="mailto:jlee54@gmail.com" target="_blank">jlee54@gmail.com</a>> wrote:<br>
<br>
Likewise, "modern" programming languages are all converging on a common feature set, like cultural cross-pollination.<br>
</blockquote>
if that’s our mindset then how do we account for times when we’ve actually identified a common pattern that a language feature could address? I’m thinking of things like methods in records, for..in loops etc… that made it into the language and are widely adopted and enjoyed.<br>
</blockquote></span>
Those specific features you mention were added because of Delphi compatibility not because someone thought they are good. Florian even likened records with methods to a can of worms before they were implemented.<br>
<br>
Regards,<br>
Sven<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.or<wbr>g</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer" target="_blank">http://lists.freepascal.org/cg<wbr>i-bin/mailman/listinfo/fpc-pas<wbr>cal</a></div></div></blockquote></div><br></div>