Am 07.01.2014 17:00 schrieb "Michael Schnell" <mschn...@lumino.de>: > - there have been decent discussions in multiple forums showing that that classes with "automatic reference counting" are dangerous
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 ) > In fact I do like zero based strings. But this breaks any backwards compatibility so it can't be decently considered. They can be switched on using a compiler directive (AFAIK $ZeroBasedStrings On/Off) in both current Delphi and FPC (2.7.1). > > 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. 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. Regards, Sven
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel