On Wed, 27 Apr 2011, Alexander Klenin wrote:
On Wed, Apr 27, 2011 at 22:18, <[email protected]> wrote:
As you can see from the linked discussion,
currently implemented workaround involves FreeAndNil.
I can imagine a similar bug which might require FreeThenNil instead.
I didn't see any linked discussion in the indicated page.
If you scroll down a bit, you will see a single note, pointing to
http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-April/051023.html
I saw that, where do you think I got the quote from ? :-)
If I see things in mails like like
"This code is so complicated, I can not understand what is going on."
Then I automatically think "Badly written code" and therefore 'error-prone'.
I agree and even I tried to refactor it -- but my work was rejected by
core developers.
Ah? Strange. Maybe they wanted to promote FreeThenNil ;-)
Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus