<p>Am 07.01.2014 17:00 schrieb "Michael Schnell" <<a href="mailto:mschnell@lumino.de">mschnell@lumino.de</a>>:<br>
>  - there have been decent discussions in multiple forums showing that that classes with "automatic reference counting" are dangerous</p>
<p>I like the idea of ARC classes. In fact I'm trying to develop an implementation that is fully backwards compatible (currently only in my head though :P )</p>
<p>> In fact I do like zero based strings. But this breaks any backwards compatibility so it can't be decently considered.</p>
<p>They can be switched on using a compiler directive (AFAIK $ZeroBasedStrings On/Off) in both current Delphi and FPC (2.7.1).</p>
<p>><br>
> In fact I do like dropping "with"  But this breaks any backwards compatibility. So I don't complain but just don't use it. (There is a decent way to implement "qualified with" blocks, but I don't think it is worth the effort.) In the end, the compiler should be smart enough to create the same code whether or nor not "with" is used.</p>

<p>It would be a possibility to implement a modeswitch which switches of "with". Regarding same code: Will not be true if the the expression inside the with-header is not side effect free.</p>
<p>Regards,<br>
Sven</p>